com.ebm_ws.infra.xmlmapping
Class XmlInstantiator

java.lang.Object
  extended by com.ebm_ws.infra.xmlmapping.ObjInfoHolder
      extended by com.ebm_ws.infra.xmlmapping.XmlInstantiator

public class XmlInstantiator
extends ObjInfoHolder

The base class for instantiating an object model that conform to XML mapping rules.


Method Summary
 IXmlObject getRoot()
          Returns the root instantiated object.
 SchemasManager getSchemas()
           
static XmlInstantiator instantiate(org.w3c.dom.Document iDoc, java.lang.Object iValidSupport)
          Instantiates a declarative model that conforms to implicit XML Mapping rules.
static XmlInstantiator instantiate(java.io.InputStream iInput, java.lang.Object iValidSupport)
          Instantiates a declarative model that conforms to implicit XML Mapping rules.
 
Methods inherited from class com.ebm_ws.infra.xmlmapping.ObjInfoHolder
addInfo, checkAllNodes, dumpMessages, getAllElementMessages, getAllMessages, getGlobalElementMessages, getInfoFromId, getInfoFromObj, getMappingElementMessages, hasMessages, removeAllInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRoot

public IXmlObject getRoot()
Returns the root instantiated object.

Returns:

getSchemas

public SchemasManager getSchemas()

instantiate

public static final XmlInstantiator instantiate(java.io.InputStream iInput,
                                                java.lang.Object iValidSupport)
                                         throws javax.xml.parsers.ParserConfigurationException,
                                                org.xml.sax.SAXException,
                                                java.io.IOException
Instantiates a declarative model that conforms to implicit XML Mapping rules.

Parameters:
iInput - The XML input stream
Returns:
The root IXmlObject object of the model.
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException

instantiate

public static final XmlInstantiator instantiate(org.w3c.dom.Document iDoc,
                                                java.lang.Object iValidSupport)
Instantiates a declarative model that conforms to implicit XML Mapping rules.

Parameters:
iDoc - The XML document.
Returns:
The root IXmlObject object of the model.


Copyright © 2008 eBMWebsourcing. All Rights Reserved.