com.metamatrix.query.mapping.xml
Class MappingLoader
java.lang.Object
com.metamatrix.query.mapping.xml.MappingLoader
public class MappingLoader
- extends java.lang.Object
Reads an mapping definition file in XML format. When finished reading
the mapping info from the XML file, this class holds an object representation
of it, rooted in a MappingNode
instance, and also holds an XML
Document
representation.
Example usage (loading from stream; exceptions not shown)
MappingLoader loader = new MappingLoader();
MappingNode mappingRootNode = loader.loadDocument(istream);
- See Also:
MappingNode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingLoader
public MappingLoader()
loadDocument
public MappingDocument loadDocument(java.io.InputStream stream)
throws MappingException
Load mapping definition from XML Document object.
- Throws:
MappingException
loadDocument
public MappingDocument loadDocument(java.lang.String fileName)
throws MappingException
- Throws:
MappingException
Copyright © 2009. All Rights Reserved.