Class ColladaImporter.ArdorFactory
java.lang.Object
org.jdom2.DefaultJDOMFactory
com.ardor3d.extension.model.collada.jdom.ColladaImporter.ArdorFactory
- All Implemented Interfaces:
org.jdom2.JDOMFactory
- Enclosing class:
ColladaImporter
A JDOMFactory that normalizes all text (strips extra whitespace etc), preparses all arrays and hashes all
elements based on their id/sid.
-
Field Summary
Modifier and TypeFieldDescriptionprivate ColladaImporter.BufferType
private int
private org.jdom2.Element
private final DataCache
private final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jdom2.Element
org.jdom2.Element
org.jdom2.Element
org.jdom2.Element
private void
handleTypes
(String name) void
setAttribute
(org.jdom2.Element parent, org.jdom2.Attribute a) org.jdom2.Text
Methods inherited from class org.jdom2.DefaultJDOMFactory
addContent, addNamespaceDeclaration, attribute, attribute, attribute, attribute, attribute, attribute, cdata, cdata, comment, comment, docType, docType, docType, docType, docType, docType, document, document, document, element, element, element, element, entityRef, entityRef, entityRef, entityRef, entityRef, entityRef, processingInstruction, processingInstruction, processingInstruction, processingInstruction, processingInstruction, processingInstruction, setRoot, text
-
Field Details
-
logger
-
dataCache
-
currentElement
-
bufferType
-
count
-
list
-
-
Constructor Details
-
ArdorFactory
ArdorFactory(DataCache dataCache)
-
-
Method Details
-
text
- Specified by:
text
in interfaceorg.jdom2.JDOMFactory
- Overrides:
text
in classorg.jdom2.DefaultJDOMFactory
-
setAttribute
- Specified by:
setAttribute
in interfaceorg.jdom2.JDOMFactory
- Overrides:
setAttribute
in classorg.jdom2.DefaultJDOMFactory
-
element
- Specified by:
element
in interfaceorg.jdom2.JDOMFactory
- Overrides:
element
in classorg.jdom2.DefaultJDOMFactory
-
element
- Specified by:
element
in interfaceorg.jdom2.JDOMFactory
- Overrides:
element
in classorg.jdom2.DefaultJDOMFactory
-
element
- Specified by:
element
in interfaceorg.jdom2.JDOMFactory
- Overrides:
element
in classorg.jdom2.DefaultJDOMFactory
-
element
- Specified by:
element
in interfaceorg.jdom2.JDOMFactory
- Overrides:
element
in classorg.jdom2.DefaultJDOMFactory
-
handleTypes
-