Class ModelloFeaturesTestXpp3Writer
java.lang.Object
org.codehaus.modello.test.features.io.xpp3.ModelloFeaturesTestXpp3Writer
Class ModelloFeaturesTestXpp3Writer.
- Version:
- $Revision$ $Date$
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, Features features) Method write.void
Method write.private void
writeAction
(Action action, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAction.private void
writeAnnotationTest
(AnnotationTest annotationTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAnnotationTest.private void
writeArrayFeatures
(ArrayFeatures arrayFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeArrayFeatures.private void
writeAssociationFeatures
(AssociationFeatures associationFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAssociationFeatures.private void
writeBaseClass
(BaseClass baseClass, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBaseClass.private void
writeBidiInList
(BidiInList bidiInList, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBidiInList.private void
writeBidiInSet
(BidiInSet bidiInSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBidiInSet.private void
writeBidirectional
(Bidirectional bidirectional, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBidirectional.private void
writeContentTest
(ContentTest contentTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeContentTest.private void
writeDueTo
(DueTo dueTo, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDueTo.private void
writeFeatures
(Features features, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFeatures.private void
Method writeFile.private void
writeInterfacesFeature
(InterfacesFeature interfacesFeature, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeInterfacesFeature.private void
writeJavaFeatures
(JavaFeatures javaFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeJavaFeatures.private void
writeNodeItem
(NodeItem nodeItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeNodeItem.private void
writePackageNameFeature
(PackageNameFeature packageNameFeature, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePackageNameFeature.private void
writeReference
(Reference reference, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeReference.private void
writeSimpleTypes
(SimpleTypes simpleTypes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSimpleTypes.private void
writeSubClassLevel1
(SubClassLevel1 subClassLevel1, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSubClassLevel1.private void
writeSubClassLevel2
(SubClassLevel2 subClassLevel2, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSubClassLevel2.private void
writeSubClassLevel3
(SubClassLevel3 subClassLevel3, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSubClassLevel3.private void
writeSuperThing
(SuperThing superThing, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSuperThing.private void
writeThing
(Thing thing, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeThing.private void
writeThingy
(Thingy thingy, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeThingy.private void
writeXdocFeatures
(XdocFeatures xdocFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXdocFeatures.private void
writeXmlAttributes
(XmlAttributes xmlAttributes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlAttributes.private void
writeXmlContent
(XmlContent xmlContent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlContent.private void
writeXmlContentLong
(XmlContentLong xmlContentLong, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlContentLong.private void
writeXmlContentLongWithAttributes
(XmlContentLongWithAttributes xmlContentLongWithAttributes, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlContentLongWithAttributes.private void
writeXmlFeatures
(XmlFeatures xmlFeatures, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFeatures.private void
writeXmlFieldsOrder
(XmlFieldsOrder xmlFieldsOrder, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFieldsOrder.private void
writeXmlFieldsOrderParent
(XmlFieldsOrderParent xmlFieldsOrderParent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFieldsOrderParent.private void
writeXmlFieldsOrderParent2
(XmlFieldsOrderParent2 xmlFieldsOrderParent2, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlFieldsOrderParent2.private void
writeXmlTransientFields
(XmlTransientFields xmlTransientFields, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXmlTransientFields.private void
writeXsdFeatures
(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.
-