com.ebm_ws.infra.xmlmapping
Class XmlSerializer
java.lang.Object
com.ebm_ws.infra.xmlmapping.ObjInfoHolder
com.ebm_ws.infra.xmlmapping.XmlSerializer
public class XmlSerializer
- extends ObjInfoHolder
The base class for instantiating an object model that conform to 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 |
XmlSerializer
public XmlSerializer(SchemasManager iManager,
IXmlObject iRoot)
throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
getDocument
public org.w3c.dom.Document getDocument()
- Returns the root instantiated object.
- Returns:
serialize
public static final XmlSerializer serialize(SchemasManager iManager,
IXmlObject iRoot)
throws javax.xml.parsers.ParserConfigurationException
- 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
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
serialize
public static final XmlSerializer serialize(SchemasManager iManager,
IXmlObject iRoot,
java.io.OutputStream output)
throws javax.xml.parsers.ParserConfigurationException,
javax.xml.transform.TransformerFactoryConfigurationError,
javax.xml.transform.TransformerException,
java.io.UnsupportedEncodingException
- Throws:
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
java.io.UnsupportedEncodingException
Copyright © 2008 eBMWebsourcing. All Rights Reserved.