Package org.vast.ogc.gml
Class GMLStaxBindings
java.lang.Object
net.opengis.AbstractBindings
net.opengis.AbstractXMLStreamBindings
net.opengis.gml.v32.bind.XMLStreamBindings
org.vast.ogc.gml.GMLStaxBindings
- Direct Known Subclasses:
 SamplingFeatureReader
Helper wrapping the auto-generated GML StAX bindings
- Since:
 - Sep 25, 2014
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GmlIdGenerator<AbstractGML>protected Map<QName,IFeatureStaxBindings<AbstractFeature>> protected DecimalFormatprotected GmlIdGenerator<AbstractGML>static final Stringstatic final Stringstatic final Stringprotected StringBuilderprotected GmlIdGenerator<AbstractGML>Fields inherited from class net.opengis.gml.v32.bind.XMLStreamBindings
factory, NS_URIFields inherited from class net.opengis.AbstractXMLStreamBindings
ERROR_INVALID_ELT, ERROR_UNSUPPORTED_TYPE, idrefMap, nsContext, XLINK_NS_URI, XSI_NS_URI - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCoordinateStringValue(double[] coords) static QNamereadAbstractFeature(XMLStreamReader reader) Dispatcher method for reading elements derived from AbstractFeaturereadGenericFeature(XMLStreamReader reader) voidvoidwriteAbstractFeature(XMLStreamWriter writer, AbstractFeature bean) Dispatcher method for writing classes derived from AbstractFeaturevoidwriteAbstractGMLTypeAttributes(XMLStreamWriter writer, AbstractGML bean) Writes attributes of AbstractGMLType complex typeprotected voidwriteCommonFeatureProperties(XMLStreamWriter writer, IFeature bean) protected voidwriteCustomFeatureProperties(XMLStreamWriter writer, IFeature bean) voidwriteGenericFeature(XMLStreamWriter writer, IFeature bean) Methods inherited from class net.opengis.gml.v32.bind.XMLStreamBindings
readAbstractCurve, readAbstractFeatureType, readAbstractFeatureTypeAttributes, readAbstractFeatureTypeElements, readAbstractGeometry, readAbstractGeometryTypeAttributes, readAbstractGeometryTypeElements, readAbstractGMLTypeAttributes, readAbstractGMLTypeElements, readAbstractSurface, readAbstractTimeGeometricPrimitive, readAbstractTimeGeometricPrimitiveTypeAttributes, readAbstractTimeGeometricPrimitiveTypeElements, readAbstractTimePrimitiveTypeAttributes, readAbstractTimePrimitiveTypeElements, readCodeListType, readCodeListTypeAttributes, readCodeOrNilReasonListType, readCodeOrNilReasonListTypeAttributes, readCodeType, readCodeTypeAttributes, 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, 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, writeTimePositionTypeAttributesMethods inherited from class net.opengis.AbstractXMLStreamBindings
checkElementName, checkElementQName, collectAttributes, declareNamespacesOnRootElement, ensureNamespaceDecl, ensurePrefix, errorLocationString, getNamespaceContext, getQNameFromString, getStringValue, readExtension, readPropertyAttributes, readPropertyAttributes, readXlinkAttributes, setNamespaceContext, setNamespacePrefixes, setupHrefResolver, skipElementAndAllChildren, skipElementAndAllChildren, writeExtension, writeNamespaces, writePropertyAttributes, writeXlinkAttributesMethods inherited from class net.opengis.AbstractBindings
canWriteExtension, getBooleanArrayFromString, getBooleanFromString, getByteFromString, getDateTimeArrayFromString, getDateTimeFromString, getDateTimeOrDoubleFromString, 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, getStringValue, getStringValueAsDoubles, trimStringValue 
- 
Field Details
- 
NS_PREFIX_GML
- See Also:
 
 - 
NS_PREFIX_XLINK
- See Also:
 
 - 
NS_PREFIX_XSI
- See Also:
 
 - 
geomIds
 - 
timeIds
 - 
featureIds
 - 
sb
 - 
featureTypesBindings
 - 
formatter
 
 - 
 - 
Constructor Details
- 
GMLStaxBindings
public GMLStaxBindings() - 
GMLStaxBindings
public GMLStaxBindings(boolean useJTS)  - 
GMLStaxBindings
 
 - 
 - 
Method Details
- 
getFactory
 - 
registerFeatureBinding
 - 
readGenericFeature
- Throws:
 XMLStreamException
 - 
writeGenericFeature
- Throws:
 XMLStreamException
 - 
writeCommonFeatureProperties
protected void writeCommonFeatureProperties(XMLStreamWriter writer, IFeature bean) throws XMLStreamException - Throws:
 XMLStreamException
 - 
writeCustomFeatureProperties
protected void writeCustomFeatureProperties(XMLStreamWriter writer, IFeature bean) throws XMLStreamException - Throws:
 XMLStreamException
 - 
readAbstractFeature
Description copied from class:XMLStreamBindingsDispatcher method for reading elements derived from AbstractFeature- Overrides:
 readAbstractFeaturein classXMLStreamBindings- Throws:
 XMLStreamException
 - 
writeAbstractFeature
public void writeAbstractFeature(XMLStreamWriter writer, AbstractFeature bean) throws XMLStreamException Description copied from class:XMLStreamBindingsDispatcher method for writing classes derived from AbstractFeature- Overrides:
 writeAbstractFeaturein classXMLStreamBindings- Throws:
 XMLStreamException
 - 
writeAbstractGMLTypeAttributes
public void writeAbstractGMLTypeAttributes(XMLStreamWriter writer, AbstractGML bean) throws XMLStreamException Description copied from class:XMLStreamBindingsWrites attributes of AbstractGMLType complex type- Overrides:
 writeAbstractGMLTypeAttributesin classXMLStreamBindings- Throws:
 XMLStreamException
 - 
getCoordinateStringValue
- Overrides:
 getCoordinateStringValuein classAbstractBindings
 - 
getFeatureQName
 
 -