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

private static final class ColladaImporter.ArdorFactory extends org.jdom2.DefaultJDOMFactory
A JDOMFactory that normalizes all text (strips extra whitespace etc), preparses all arrays and hashes all elements based on their id/sid.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    private int
     
    private org.jdom2.Element
     
    private final DataCache
     
    private final List<String>
     
    private final Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jdom2.Element
    element(int line, int col, String name)
     
    org.jdom2.Element
    element(int line, int col, String name, String uri)
     
    org.jdom2.Element
    element(int line, int col, String name, String prefix, String uri)
     
    org.jdom2.Element
    element(int line, int col, String name, org.jdom2.Namespace namespace)
     
    private void
     
    void
    setAttribute(org.jdom2.Element parent, org.jdom2.Attribute a)
     
    org.jdom2.Text
    text(int line, int col, String 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • text

      public org.jdom2.Text text(int line, int col, String text)
      Specified by:
      text in interface org.jdom2.JDOMFactory
      Overrides:
      text in class org.jdom2.DefaultJDOMFactory
    • setAttribute

      public void setAttribute(org.jdom2.Element parent, org.jdom2.Attribute a)
      Specified by:
      setAttribute in interface org.jdom2.JDOMFactory
      Overrides:
      setAttribute in class org.jdom2.DefaultJDOMFactory
    • element

      public org.jdom2.Element element(int line, int col, String name, org.jdom2.Namespace namespace)
      Specified by:
      element in interface org.jdom2.JDOMFactory
      Overrides:
      element in class org.jdom2.DefaultJDOMFactory
    • element

      public org.jdom2.Element element(int line, int col, String name, String prefix, String uri)
      Specified by:
      element in interface org.jdom2.JDOMFactory
      Overrides:
      element in class org.jdom2.DefaultJDOMFactory
    • element

      public org.jdom2.Element element(int line, int col, String name, String uri)
      Specified by:
      element in interface org.jdom2.JDOMFactory
      Overrides:
      element in class org.jdom2.DefaultJDOMFactory
    • element

      public org.jdom2.Element element(int line, int col, String name)
      Specified by:
      element in interface org.jdom2.JDOMFactory
      Overrides:
      element in class org.jdom2.DefaultJDOMFactory
    • handleTypes

      private void handleTypes(String name)