public class JsonNodeBuilder extends Object implements INodeBuilder
Constructor and Description |
---|
JsonNodeBuilder(JsonEventHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
setNumberValue(String value) |
void |
setValue(boolean value) |
void |
setValue(Number value) |
void |
setValue(String value) |
JsonArrayBuilder |
startArray(String elementName) |
JsonObjectBuilder |
startObject() |
public JsonNodeBuilder(JsonEventHandler handler)
public void close() throws SAXException
close
in interface AutoCloseable
close
in interface INodeBuilder
SAXException
public JsonArrayBuilder startArray(String elementName) throws SAXException
startArray
in interface INodeBuilder
SAXException
public JsonObjectBuilder startObject() throws SAXException
startObject
in interface INodeBuilder
SAXException
public void setValue(String value) throws SAXException
setValue
in interface INodeBuilder
SAXException
public void setValue(Number value) throws SAXException
setValue
in interface INodeBuilder
SAXException
public void setValue(boolean value) throws SAXException
setValue
in interface INodeBuilder
SAXException
public void setNumberValue(String value) throws SAXException
setNumberValue
in interface INodeBuilder
SAXException
Copyright © 2023 Frank!Framework. All rights reserved.