Class TreeContentContainer<E extends ElementContainer>

java.lang.Object
org.frankframework.align.content.TreeContentContainer<E>
All Implemented Interfaces:
DocumentContainer, ElementContainer, ElementGroupContainer
Direct Known Subclasses:
JsonDocumentContainer

public abstract class TreeContentContainer<E extends ElementContainer> extends Object implements DocumentContainer
  • Constructor Details

    • TreeContentContainer

      public TreeContentContainer()
  • Method Details

    • createElementContainer

      protected abstract E createElementContainer(String localName, boolean xmlArrayContainer, boolean repeatedElement, org.apache.xerces.xs.XSTypeDefinition typeDefinition)
    • addContent

      protected abstract void addContent(E parent, E child)
    • startElementGroup

      public void startElementGroup(String localName, boolean xmlArrayContainer, boolean repeatedElement, org.apache.xerces.xs.XSTypeDefinition typeDefinition)
      Specified by:
      startElementGroup in interface DocumentContainer
    • endElementGroup

      public void endElementGroup(String localName)
      Specified by:
      endElementGroup in interface DocumentContainer
    • startElement

      public void startElement(String localName, boolean xmlArrayContainer, boolean repeatedElement, org.apache.xerces.xs.XSTypeDefinition typeDefinition)
      Specified by:
      startElement in interface ElementGroupContainer
    • endElement

      public void endElement(String localName)
      Specified by:
      endElement in interface ElementGroupContainer
    • setNull

      public void setNull()
      Specified by:
      setNull in interface ElementContainer
    • setAttribute

      public void setAttribute(String name, String value, org.apache.xerces.xs.XSSimpleTypeDefinition attTypeDefinition)
      Specified by:
      setAttribute in interface ElementContainer
    • characters

      public void characters(char[] ch, int start, int length)
      Specified by:
      characters in interface ElementContainer
    • getRoot

      public E getRoot()
    • getCurrentElement

      public E getCurrentElement()