Package org.frankframework.align.content
Class JsonDocumentContainer
java.lang.Object
org.frankframework.align.content.JsonDocumentContainer
Helper class to construct JSON from XML events.
- Author:
- Gerrit van Brakel
-
Constructor Summary
ConstructorDescriptionJsonDocumentContainer
(String name, boolean skipArrayElementContainers, boolean skipRootElement) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addContent
(JsonElementContainer parent, JsonElementContainer child) void
characters
(char[] ch, int start, int length) protected JsonElementContainer
createElementContainer
(String localName, boolean xmlArrayContainer, boolean repeatedElement, org.apache.xerces.xs.XSTypeDefinition typeDefinition) void
protected void
getName()
getRoot()
void
setAttribute
(String name, String value, org.apache.xerces.xs.XSSimpleTypeDefinition attTypeDefinition) void
setNull()
void
startElement
(String localName, boolean xmlArrayContainer, boolean repeatedElement, org.apache.xerces.xs.XSTypeDefinition typeDefinition) toString()
toString
(boolean indent) protected void
toString
(StringBuilder sb, Object item, int indentLevel)
-
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
-
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
-
toString
-
toString
-
toString
-
generate
-
getRoot
-
getName
-