|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.mapping.xml.MappingOutputter
public class MappingOutputter
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.
MappingDefinition
Constructor Summary | |
---|---|
MappingOutputter()
|
Method Summary | |
---|---|
void |
write(MappingDocument doc,
java.io.PrintWriter stream)
Ouput the current JDOM Document to the output stream. |
void |
write(MappingDocument doc,
java.io.PrintWriter stream,
boolean newlines,
boolean indent)
Ouput the current JDOM Document to the output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappingOutputter()
Method Detail |
---|
public void write(MappingDocument doc, java.io.PrintWriter stream) throws java.io.IOException
Ouput the current JDOM Document
to the output stream.
stream
- The output stream
java.io.IOException
- if there are problems writing to the file.public void write(MappingDocument doc, java.io.PrintWriter stream, boolean newlines, boolean indent) throws java.io.IOException
Ouput the current JDOM Document
to the output stream.
stream
- The output streamnewlines
- true if the output should contain newline characters, or false otherwiseindent
- true if the output should be indented, or false otherwise.
java.io.IOException
- if there are problems writing to the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |