org.teiid.query.mapping.xml
Class MappingOutputter
java.lang.Object
org.teiid.query.mapping.xml.MappingOutputter
public class MappingOutputter
- extends Object
Outputs a mapping definition in XML format. The mapping definition is
held in object form in an instance of the MappingDefinition
class. This is transferred into an XML Document
representation
and then written to a file.
- See Also:
MappingDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingOutputter
public MappingOutputter()
write
public void write(MappingDocument doc,
PrintWriter stream)
throws IOException
- Parameters:
stream
- The output stream
- Throws:
IOException
- if there are problems writing to the file.
Copyright © 2011. All Rights Reserved.