public class GMLStaxBindings extends XMLStreamBindings
Helper wrapping the auto-generated GML StAX bindings
Modifier and Type | Field and Description |
---|---|
protected int |
featureIdCounter |
protected Map<QName,IFeatureStaxBindings> |
featureTypesBindings |
protected int |
geomIdCounter |
static String |
NS_PREFIX_GML |
static String |
NS_PREFIX_XLINK |
protected StringBuilder |
sb |
protected int |
timeIdCounter |
factory, NS_URI
ERROR_INVALID_ELT, ERROR_UNSUPPORTED_TYPE, idrefMap, nsContext, XLINK_NS_URI
Constructor and Description |
---|
GMLStaxBindings() |
GMLStaxBindings(boolean useJTS) |
GMLStaxBindings(Factory fac) |
Modifier and Type | Method and Description |
---|---|
GMLFactory |
getFactory() |
AbstractFeature |
readAbstractFeature(XMLStreamReader reader)
Dispatcher method for reading elements derived from AbstractFeature
|
GenericFeature |
readGenericFeature(XMLStreamReader reader) |
void |
registerFeatureBindings(IFeatureStaxBindings featureBindings) |
void |
resetGeomIdCounter(int geomIdCounter) |
void |
resetTimeIdCounter(int timeIdCounter) |
void |
writeAbstractFeature(XMLStreamWriter writer,
AbstractFeature bean)
Dispatcher method for writing classes derived from AbstractFeature
|
void |
writeAbstractGMLTypeAttributes(XMLStreamWriter writer,
AbstractGML bean)
Writes attributes of AbstractGMLType complex type
|
void |
writeGenericFeature(XMLStreamWriter writer,
GenericFeature bean) |
readAbstractCurve, readAbstractFeatureType, readAbstractFeatureTypeAttributes, readAbstractFeatureTypeElements, readAbstractGeometry, readAbstractGeometryTypeAttributes, readAbstractGeometryTypeElements, readAbstractGMLTypeAttributes, readAbstractGMLTypeElements, readAbstractSurface, readAbstractTimeGeometricPrimitive, readAbstractTimeGeometricPrimitiveTypeAttributes, readAbstractTimeGeometricPrimitiveTypeElements, readAbstractTimePrimitiveTypeAttributes, readAbstractTimePrimitiveTypeElements, readCodeListType, readCodeListTypeAttributes, readCodeOrNilReasonListType, readCodeOrNilReasonListTypeAttributes, readCodeType, readCodeTypeAttributes, readCodeWithAuthorityType, readCodeWithAuthorityTypeAttributes, readEnvelope, readEnvelopeType, readEnvelopeTypeAttributes, readEnvelopeTypeElements, readFeatureCollection, readFeatureCollectionType, readFeatureCollectionTypeAttributes, readFeatureCollectionTypeElements, readLinearRing, readLinearRingType, readLinearRingTypeElements, readLineString, readLineStringType, readLineStringTypeAttributes, readLineStringTypeElements, readLocationKeyWord, readLocationString, readPoint, readPointType, readPointTypeAttributes, readPointTypeElements, readPolygon, readPolygonType, readPolygonTypeAttributes, readPolygonTypeElements, readPositionElements, readReferenceType, readReferenceTypeAttributes, readTimeInstant, readTimeInstantType, readTimeInstantTypeAttributes, readTimeInstantTypeElements, readTimeInterval, readTimeIntervalLengthType, readTimeIntervalLengthTypeAttributes, readTimePeriod, readTimePeriodType, readTimePeriodTypeAttributes, readTimePeriodTypeElements, readTimePosition, readTimePositionType, readTimePositionTypeAttributes, writeAbstractCurve, writeAbstractFeatureTypeAttributes, writeAbstractFeatureTypeElements, writeAbstractGeometry, writeAbstractGeometryTypeAttributes, writeAbstractGeometryTypeElements, writeAbstractGMLTypeElements, writeAbstractSurface, writeAbstractTimeGeometricPrimitive, writeAbstractTimeGeometricPrimitiveTypeAttributes, writeAbstractTimeGeometricPrimitiveTypeElements, writeAbstractTimePrimitiveTypeAttributes, writeAbstractTimePrimitiveTypeElements, writeCodeListType, writeCodeListTypeAttributes, writeCodeOrNilReasonListType, writeCodeOrNilReasonListTypeAttributes, writeCodeType, writeCodeTypeAttributes, writeCodeWithAuthorityType, writeCodeWithAuthorityTypeAttributes, writeEnvelope, writeEnvelopeType, writeEnvelopeTypeAttributes, writeEnvelopeTypeElements, writeFeatureCollection, writeFeatureCollectionType, writeFeatureCollectionTypeAttributes, writeFeatureCollectionTypeElements, writeLinearRing, writeLinearRingType, writeLinearRingTypeElements, writeLineString, writeLineStringType, writeLineStringTypeAttributes, writeLineStringTypeElements, writeLocationKeyWord, writeLocationString, writePoint, writePointType, writePointTypeAttributes, writePointTypeElements, writePolygon, writePolygonType, writePolygonTypeAttributes, writePolygonTypeElements, writeReferenceType, writeReferenceTypeAttributes, writeTimeInstant, writeTimeInstantType, writeTimeInstantTypeAttributes, writeTimeInstantTypeElements, writeTimeInterval, writeTimeIntervalLengthType, writeTimeIntervalLengthTypeAttributes, writeTimePeriod, writeTimePeriodType, writeTimePeriodTypeAttributes, writeTimePeriodTypeElements, writeTimePosition, writeTimePositionType, writeTimePositionTypeAttributes
canWriteExtension, checkElementName, checkElementQName, collectAttributes, declareNamespacesOnRootElement, ensureNamespaceDecl, ensurePrefix, errorLocationString, getNamespaceContext, getQNameFromString, getStringValue, readExtension, readPropertyAttributes, readPropertyAttributes, setNamespaceContext, setNamespacePrefixes, skipElementAndAllChildren, writeExtension, writeNamespaces, writePropertyAttributes
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 NS_PREFIX_GML
public static final String NS_PREFIX_XLINK
protected int geomIdCounter
protected int timeIdCounter
protected int featureIdCounter
protected StringBuilder sb
protected Map<QName,IFeatureStaxBindings> featureTypesBindings
public GMLStaxBindings()
public GMLStaxBindings(boolean useJTS)
public GMLStaxBindings(Factory fac)
public GMLFactory getFactory()
public void registerFeatureBindings(IFeatureStaxBindings featureBindings)
public GenericFeature readGenericFeature(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public void writeGenericFeature(XMLStreamWriter writer, GenericFeature bean) throws XMLStreamException
XMLStreamException
public AbstractFeature readAbstractFeature(XMLStreamReader reader) throws XMLStreamException
XMLStreamBindings
readAbstractFeature
in class XMLStreamBindings
XMLStreamException
public void writeAbstractFeature(XMLStreamWriter writer, AbstractFeature bean) throws XMLStreamException
XMLStreamBindings
writeAbstractFeature
in class XMLStreamBindings
XMLStreamException
public void writeAbstractGMLTypeAttributes(XMLStreamWriter writer, AbstractGML bean) throws XMLStreamException
XMLStreamBindings
writeAbstractGMLTypeAttributes
in class XMLStreamBindings
XMLStreamException
public final void resetGeomIdCounter(int geomIdCounter)
public final void resetTimeIdCounter(int timeIdCounter)
Copyright © 2016 Sensia Software LLC. All rights reserved.