Package org.vast.ogc.gml.json
Class GMLJsonStreamWriter
java.lang.Object
org.vast.json.JsonStreamWriter
org.vast.ogc.gml.json.GMLJsonStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
,JsonConstants
-
Nested Class Summary
Nested classes/interfaces inherited from class org.vast.json.JsonStreamWriter
JsonStreamWriter.JsonContext
-
Field Summary
FieldsFields inherited from class org.vast.json.JsonStreamWriter
currentContext, indent, indentSize, markAttributes, writer
Fields inherited from interface org.vast.json.JsonConstants
ATT_PREFIX, OBJECT_TYPE_PROPERTY
-
Constructor Summary
ConstructorsConstructorDescriptionGMLJsonStreamWriter
(com.google.gson.stream.JsonWriter writer) GMLJsonStreamWriter
(OutputStream os, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
addSpecialNamesWithParent
(Map<String, Map<String, String>> nameMaps, String namespaceURI, String parentName, String... names) protected void
protected boolean
protected boolean
isNumericValue
(String value) protected boolean
isObjectElement
(String namespaceURI, String localName) protected boolean
protected boolean
isSpecialPath
(Map<String, Map<String, String>> nameMaps, String parentName, String namespaceURI, String localName) protected boolean
isValueArray
(String namespaceURI, String localName) Methods inherited from class org.vast.json.JsonStreamWriter
beginArray, close, closeArray, endArray, flush, getNamespaceContext, getPluralName, getPrefix, getProperty, popContext, prepareAppendToObject, pushContext, resetContext, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement, writeValue, writeValue
-
Field Details
-
NO_PARENT
- See Also:
-
NO_NS
- See Also:
-
arrays
-
numerics
-
valueArrays
-
-
Constructor Details
-
GMLJsonStreamWriter
-
GMLJsonStreamWriter
public GMLJsonStreamWriter(com.google.gson.stream.JsonWriter writer)
-
-
Method Details
-
initSpecialNames
protected void initSpecialNames() -
addSpecialNames
-
addSpecialNamesWithParent
-
isSpecialName
-
isSpecialPath
-
isArray
- Overrides:
isArray
in classJsonStreamWriter
-
isValueArray
- Overrides:
isValueArray
in classJsonStreamWriter
-
isNumericValue
- Overrides:
isNumericValue
in classJsonStreamWriter
-
isObjectElement
- Overrides:
isObjectElement
in classJsonStreamWriter
-