Class ObjectBuilder
java.lang.Object
org.frankframework.documentbuilder.StructureBuilder
org.frankframework.documentbuilder.ObjectBuilder
- All Implemented Interfaces:
AutoCloseable, IObjectBuilder
- Direct Known Subclasses:
JsonObjectBuilder, XmlObjectBuilder
-
Field Summary
Fields inherited from class StructureBuilder
field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddArrayField(String name, String elementName) voidaddAttribute(String name, boolean value) voidaddAttribute(String name, Number value) voidaddAttribute(String name, String value) voidvoidaddNumberAttribute(String name, String value) addObjectField(String name) Methods inherited from class StructureBuilder
asArrayBuilder, asObjectBuilder, close, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IObjectBuilder
addField, addRepeatedField, close
-
Constructor Details
-
ObjectBuilder
public ObjectBuilder()
-
-
Method Details
-
add
- Throws:
SAXException
-
add
- Throws:
SAXException
-
add
- Throws:
SAXException
-
addNumber
- Throws:
SAXException
-
addAttribute
- Throws:
SAXException
-
addAttribute
- Throws:
SAXException
-
addAttribute
- Throws:
SAXException
-
addNumberAttribute
- Throws:
SAXException
-
addObjectField
- Throws:
SAXException
-
addArrayField
- Throws:
SAXException
-