Class XMLDirectWriter<T extends XMLDirectWriter>
java.lang.Object
com.metaobjects.io.MetaDataWriter
com.metaobjects.generator.GeneratorIOWriter<T>
com.metaobjects.generator.direct.metadata.xml.XMLDirectWriter<T>
- All Implemented Interfaces:
com.metaobjects.io.MetaDataIO
- Direct Known Subclasses:
MetaDataFileXSDWriter
-
Field Summary
Fields inherited from class com.metaobjects.generator.GeneratorIOWriter
log -
Constructor Summary
ConstructorsConstructorDescriptionXMLDirectWriter(com.metaobjects.loader.MetaDataLoader loader, OutputStream out) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected Documentprotected Documentdoc()protected voidwriteDocument(Document doc, OutputStream out) abstract voidwriteXML()Methods inherited from class com.metaobjects.generator.GeneratorIOWriter
getFilename, getFilters, getName, getToStringOptions, toString, withFilename, withFilters, withNameMethods inherited from class com.metaobjects.io.MetaDataWriter
getLoader, path
-
Constructor Details
-
XMLDirectWriter
public XMLDirectWriter(com.metaobjects.loader.MetaDataLoader loader, OutputStream out) throws GeneratorIOException - Throws:
GeneratorIOException
-
-
Method Details
-
writeXML
- Throws:
GeneratorIOException
-
createDocument
- Throws:
GeneratorIOException
-
writeDocument
- Throws:
GeneratorIOException
-
doc
- Throws:
GeneratorIOException
-
close
- Specified by:
closein interfacecom.metaobjects.io.MetaDataIO- Specified by:
closein classGeneratorIOWriter<T extends XMLDirectWriter>- Throws:
GeneratorIOException
-