public abstract class AbstractXMLStreamBindings extends AbstractBindings
Base abstract class for all XML bindings using XML Stream API
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_INVALID_ELT |
static String |
ERROR_UNSUPPORTED_TYPE |
protected Map<String,Object> |
idrefMap |
protected NamespaceRegister |
nsContext |
static String |
XLINK_NS_URI |
Constructor and Description |
---|
AbstractXMLStreamBindings() |
getBooleanArrayFromString, getBooleanFromString, getByteFromString, getDateTimeArrayFromString, getDateTimeFromString, getDoubleArrayFromString, getDoubleFromString, getDurationFromString, getFloatFromString, getIntArrayFromString, getIntFromString, getIsoDurationString, getLongFromString, getShortFromString, getStringArrayFromString, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValueAsDoubles
public static final String ERROR_INVALID_ELT
public static final String ERROR_UNSUPPORTED_TYPE
public static final String XLINK_NS_URI
protected NamespaceRegister nsContext
public void declareNamespacesOnRootElement()
public void ensureNamespaceDecl(XMLStreamWriter writer, QName qname) throws XMLStreamException
XMLStreamException
public String ensurePrefix(XMLStreamWriter writer, QName qname) throws XMLStreamException
XMLStreamException
public void setNamespacePrefixes(XMLStreamWriter writer) throws XMLStreamException
XMLStreamException
public void writeNamespaces(XMLStreamWriter writer) throws XMLStreamException
XMLStreamException
protected final Map<String,String> collectAttributes(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
protected final boolean checkElementName(XMLStreamReader reader, String localName) throws XMLStreamException
XMLStreamException
protected final boolean checkElementQName(XMLStreamReader reader, String nsUri, String localName) throws XMLStreamException
XMLStreamException
protected final String errorLocationString(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
protected final void readPropertyAttributes(XMLStreamReader reader, OgcProperty<?> prop) throws XMLStreamException
XMLStreamException
protected void readPropertyAttributes(Map<String,String> attrMap, OgcProperty<?> prop) throws XMLStreamException
XMLStreamException
protected void writePropertyAttributes(XMLStreamWriter writer, OgcProperty<?> prop) throws XMLStreamException
XMLStreamException
protected final void skipElementAndAllChildren(XMLStreamReader reader) throws XMLStreamException
reader
- XMLStreamException
public Object readExtension(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public void writeExtension(XMLStreamWriter writer, Object obj) throws XMLStreamException
XMLStreamException
public boolean canWriteExtension(Object obj)
public NamespaceRegister getNamespaceContext()
public void setNamespaceContext(NamespaceRegister nsContext)
Copyright © 2016 Sensia Software LLC. All rights reserved.