Class ModelloFeaturesTestXpp3Writer
java.lang.Object
org.codehaus.modello.test.features.io.xpp3.ModelloFeaturesTestXpp3Writer
Class ModelloFeaturesTestXpp3Writer.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidwrite(OutputStream stream, Features features) Method write.voidMethod write.private voidwriteAction(Action action, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAction.private voidwriteAnnotationTest(AnnotationTest annotationTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAnnotationTest.private voidwriteArrayFeatures(ArrayFeatures arrayFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeArrayFeatures.private voidwriteAssociationFeatures(AssociationFeatures associationFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAssociationFeatures.private voidwriteBaseClass(BaseClass baseClass, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBaseClass.private voidwriteBidiInList(BidiInList bidiInList, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBidiInList.private voidwriteBidiInSet(BidiInSet bidiInSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBidiInSet.private voidwriteBidirectional(Bidirectional bidirectional, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBidirectional.private voidwriteContentTest(ContentTest contentTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeContentTest.private voidwriteDueTo(DueTo dueTo, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDueTo.private voidwriteFeatures(Features features, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFeatures.private voidMethod writeFile.private voidwriteInterfacesFeature(InterfacesFeature interfacesFeature, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeInterfacesFeature.private voidwriteJavaFeatures(JavaFeatures javaFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeJavaFeatures.private voidwriteNodeItem(NodeItem nodeItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeNodeItem.private voidwritePackageNameFeature(PackageNameFeature packageNameFeature, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePackageNameFeature.private voidwriteReference(Reference reference, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeReference.private voidwriteSimpleTypes(SimpleTypes simpleTypes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSimpleTypes.private voidwriteSubClassLevel1(SubClassLevel1 subClassLevel1, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSubClassLevel1.private voidwriteSubClassLevel2(SubClassLevel2 subClassLevel2, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSubClassLevel2.private voidwriteSubClassLevel3(SubClassLevel3 subClassLevel3, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSubClassLevel3.private voidwriteSuperThing(SuperThing superThing, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSuperThing.private voidwriteThing(Thing thing, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeThing.private voidwriteThingy(Thingy thingy, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeThingy.private voidwriteXdocFeatures(XdocFeatures xdocFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXdocFeatures.private voidwriteXmlAttributes(XmlAttributes xmlAttributes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlAttributes.private voidwriteXmlContent(XmlContent xmlContent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlContent.private voidwriteXmlContentLong(XmlContentLong xmlContentLong, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlContentLong.private voidwriteXmlContentLongWithAttributes(XmlContentLongWithAttributes xmlContentLongWithAttributes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlContentLongWithAttributes.private voidwriteXmlFeatures(XmlFeatures xmlFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFeatures.private voidwriteXmlFieldsOrder(XmlFieldsOrder xmlFieldsOrder, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFieldsOrder.private voidwriteXmlFieldsOrderParent(XmlFieldsOrderParent xmlFieldsOrderParent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFieldsOrderParent.private voidwriteXmlFieldsOrderParent2(XmlFieldsOrderParent2 xmlFieldsOrderParent2, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFieldsOrderParent2.private voidwriteXmlTransientFields(XmlTransientFields xmlTransientFields, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlTransientFields.private voidwriteXsdFeatures(XsdFeatures xsdFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXsdFeatures.
-
Field Details
-
NAMESPACE
Field NAMESPACE. -
fileComment
Field fileComment.
-
-
Constructor Details
-
ModelloFeaturesTestXpp3Writer
public ModelloFeaturesTestXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
write
Method write.- Parameters:
writer- a writer object.features- a features object.- Throws:
IOException- java.io.IOException if any.
-
write
Method write.- Parameters:
stream- a stream object.features- a features object.- Throws:
IOException- java.io.IOException if any.
-
writeAction
private void writeAction(Action action, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeAction.- Parameters:
action- a action object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeAnnotationTest
private void writeAnnotationTest(AnnotationTest annotationTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeAnnotationTest.- Parameters:
annotationTest- a annotationTest object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeArrayFeatures
private void writeArrayFeatures(ArrayFeatures arrayFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeArrayFeatures.- Parameters:
arrayFeatures- a arrayFeatures object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeAssociationFeatures
private void writeAssociationFeatures(AssociationFeatures associationFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeAssociationFeatures.- Parameters:
associationFeatures- a associationFeatures object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeBaseClass
private void writeBaseClass(BaseClass baseClass, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBaseClass.- Parameters:
baseClass- a baseClass object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeBidiInList
private void writeBidiInList(BidiInList bidiInList, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBidiInList.- Parameters:
bidiInList- a bidiInList object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeBidiInSet
private void writeBidiInSet(BidiInSet bidiInSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBidiInSet.- Parameters:
bidiInSet- a bidiInSet object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeBidirectional
private void writeBidirectional(Bidirectional bidirectional, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBidirectional.- Parameters:
bidirectional- a bidirectional object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeContentTest
private void writeContentTest(ContentTest contentTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeContentTest.- Parameters:
contentTest- a contentTest object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeDueTo
private void writeDueTo(DueTo dueTo, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeDueTo.- Parameters:
dueTo- a dueTo object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeFeatures
private void writeFeatures(Features features, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeFeatures.- Parameters:
features- a features object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeFile
private void writeFile(File file, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeFile.- Parameters:
file- a file object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeInterfacesFeature
private void writeInterfacesFeature(InterfacesFeature interfacesFeature, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeInterfacesFeature.- Parameters:
interfacesFeature- a interfacesFeature object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeJavaFeatures
private void writeJavaFeatures(JavaFeatures javaFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeJavaFeatures.- Parameters:
javaFeatures- a javaFeatures object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeNodeItem
private void writeNodeItem(NodeItem nodeItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeNodeItem.- Parameters:
nodeItem- a nodeItem object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writePackageNameFeature
private void writePackageNameFeature(PackageNameFeature packageNameFeature, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writePackageNameFeature.- Parameters:
packageNameFeature- a packageNameFeature object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeReference
private void writeReference(Reference reference, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeReference.- Parameters:
reference- a reference object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeSimpleTypes
private void writeSimpleTypes(SimpleTypes simpleTypes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSimpleTypes.- Parameters:
simpleTypes- a simpleTypes object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeSubClassLevel1
private void writeSubClassLevel1(SubClassLevel1 subClassLevel1, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSubClassLevel1.- Parameters:
subClassLevel1- a subClassLevel1 object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeSubClassLevel2
private void writeSubClassLevel2(SubClassLevel2 subClassLevel2, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSubClassLevel2.- Parameters:
subClassLevel2- a subClassLevel2 object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeSubClassLevel3
private void writeSubClassLevel3(SubClassLevel3 subClassLevel3, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSubClassLevel3.- Parameters:
subClassLevel3- a subClassLevel3 object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeSuperThing
private void writeSuperThing(SuperThing superThing, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSuperThing.- Parameters:
superThing- a superThing object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeThing
private void writeThing(Thing thing, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeThing.- Parameters:
thing- a thing object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeThingy
private void writeThingy(Thingy thingy, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeThingy.- Parameters:
thingy- a thingy object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXdocFeatures
private void writeXdocFeatures(XdocFeatures xdocFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXdocFeatures.- Parameters:
xdocFeatures- a xdocFeatures object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlAttributes
private void writeXmlAttributes(XmlAttributes xmlAttributes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlAttributes.- Parameters:
xmlAttributes- a xmlAttributes object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlContent
private void writeXmlContent(XmlContent xmlContent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlContent.- Parameters:
xmlContent- a xmlContent object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlContentLong
private void writeXmlContentLong(XmlContentLong xmlContentLong, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlContentLong.- Parameters:
xmlContentLong- a xmlContentLong object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlContentLongWithAttributes
private void writeXmlContentLongWithAttributes(XmlContentLongWithAttributes xmlContentLongWithAttributes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlContentLongWithAttributes.- Parameters:
xmlContentLongWithAttributes- a xmlContentLongWithAttributes object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlFeatures
private void writeXmlFeatures(XmlFeatures xmlFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlFeatures.- Parameters:
xmlFeatures- a xmlFeatures object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlFieldsOrder
private void writeXmlFieldsOrder(XmlFieldsOrder xmlFieldsOrder, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlFieldsOrder.- Parameters:
xmlFieldsOrder- a xmlFieldsOrder object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlFieldsOrderParent
private void writeXmlFieldsOrderParent(XmlFieldsOrderParent xmlFieldsOrderParent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlFieldsOrderParent.- Parameters:
xmlFieldsOrderParent- a xmlFieldsOrderParent object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlFieldsOrderParent2
private void writeXmlFieldsOrderParent2(XmlFieldsOrderParent2 xmlFieldsOrderParent2, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlFieldsOrderParent2.- Parameters:
xmlFieldsOrderParent2- a xmlFieldsOrderParent2 object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXmlTransientFields
private void writeXmlTransientFields(XmlTransientFields xmlTransientFields, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXmlTransientFields.- Parameters:
xmlTransientFields- a xmlTransientFields object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeXsdFeatures
private void writeXsdFeatures(XsdFeatures xsdFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeXsdFeatures.- Parameters:
xsdFeatures- a xsdFeatures object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-