org.teiid.query.mapping.xml
Class MappingOutputter

java.lang.Object
  extended by 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

Constructor Summary
MappingOutputter()
           
 
Method Summary
 void write(MappingDocument doc, PrintWriter stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingOutputter

public MappingOutputter()
Method Detail

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.