biz.onixs.fix.fastnew
Class DomXmlTemplateLoader

java.lang.Object
  extended by biz.onixs.fix.fastnew.DomXmlTemplateLoader
All Implemented Interfaces:
TemplateLoader

public class DomXmlTemplateLoader
extends Object
implements TemplateLoader

Template library loader from an XML source. Based on the DOM model internally.


Constructor Summary
DomXmlTemplateLoader()
           
 
Method Summary
 TemplateLibrary load(InputStream inputStream)
          Loads template library from the XML source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomXmlTemplateLoader

public DomXmlTemplateLoader()
Method Detail

load

public TemplateLibrary load(InputStream inputStream)
                     throws Exception
Loads template library from the XML source.

Specified by:
load in interface TemplateLoader
Parameters:
inputStream - XML input stream. The stream is closed inside this method.
Returns:
loaded template library
Throws:
Exception - if loading failed


Copyright © 2005-2012 Onix Solutions. All Rights Reserved.