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