Class JsonDocumentContainer

java.lang.Object
org.frankframework.align.content.JsonDocumentContainer

public class JsonDocumentContainer extends Object
Helper class to construct JSON from XML events.
Author:
Gerrit van Brakel
  • Constructor Details

    • JsonDocumentContainer

      public JsonDocumentContainer(String name, boolean skipArrayElementContainers, boolean skipRootElement)
  • Method Details

    • startElement

      public void startElement(String localName, boolean xmlArrayContainer, boolean repeatedElement, org.apache.xerces.xs.XSTypeDefinition typeDefinition)
    • endElement

      public void endElement()
    • setNull

      public void setNull()
    • setAttribute

      public void setAttribute(String name, String value, org.apache.xerces.xs.XSSimpleTypeDefinition attTypeDefinition)
    • characters

      public void characters(char[] ch, int start, int length)
    • createElementContainer

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

      protected void addContent(JsonElementContainer parent, JsonElementContainer child)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(boolean indent)
    • toString

      protected void toString(StringBuilder sb, Object item, int indentLevel)
    • generate

      protected void generate(jakarta.json.stream.JsonGenerator g, String key, Object item)
    • getRoot

      public JsonElementContainer getRoot()
    • getName

      public String getName()