Package org.geotools.gml3.simple
Class GML32FeatureCollectionEncoderDelegate.GML32Delegate
- Object
- 
- GML32Delegate
 
- 
- All Implemented Interfaces:
- GMLDelegate
 - Enclosing class:
- GML32FeatureCollectionEncoderDelegate
 
 public static class GML32FeatureCollectionEncoderDelegate.GML32Delegate extends Object implements GMLDelegate 
- 
- 
Field SummaryFields Modifier and Type Field Description protected QualifiedNamemember
 - 
Constructor SummaryConstructors Constructor Description GML32Delegate(Encoder encoder)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvelopeEncodercreateEnvelopeEncoder(Encoder e)Creates the envelope encodervoidendFeature(GMLWriter handler)Closes a single featurevoidendFeatures(GMLWriter handler)Closes a collection of featuresvoidendTuple(GMLWriter handler)Closes a tuplebooleanforceDecimalEncoding()Returns true if coordinates should be encoded as xs:decimal instead of xs:doublebooleangetEncodeMeasures()Controls if coordinates measures should be included in WFS outputs.ListgetFeatureProperties(SimpleFeature f, XSDElementDeclaration element, Encoder e)Lists all properties that should be encoded for a given featureStringgetGmlPrefix()The GML prefix used by this encoding sessionintgetNumDecimals()Number of decimals used in the outputXSDgetSchema()The XSD schema used by this GML versionvoidinitFidAttribute(AttributesImpl atts)Initializes an empty feature id attribute, the attribute must be the first one in "atts"booleanpadWithZeros()Returns true if coordinates should be right-padded with zeros up to the requested number of decimals.voidregisterGeometryEncoders(Map<Class,GeometryEncoder<? extends Geometry>> encoders, Encoder encoder)Registers all the geometry encoders for this GML version in a map, by geometry class (different versions support different types of geometries, e.g., GML3 supports also curved ones)voidsetGeometryDimensionAttribute(AttributesImpl atts, int dimension)Sets the dimensions attribute, if available for the current GML versionvoidsetSrsNameAttribute(AttributesImpl atts, CoordinateReferenceSystem crs)Sets the SRS attribute with the proper syntax for the given GML versionvoidstartFeature(GMLWriter handler)Writes whatever per feature preamble is needed in this GML versionvoidstartFeatures(GMLWriter handler)Writes whatever per collection preamble is needed in this GML versionvoidstartTuple(GMLWriter handler)Writes the tuple preamblebooleansupportsTuples()Returns true if tuple encoding is supported in this standard
 
- 
- 
- 
Field Detail- 
memberprotected QualifiedName member 
 
- 
 - 
Constructor Detail- 
GML32Delegatepublic GML32Delegate(Encoder encoder) 
 
- 
 - 
Method Detail- 
getFeaturePropertiespublic List getFeatureProperties(SimpleFeature f, XSDElementDeclaration element, Encoder e) Description copied from interface:GMLDelegateLists all properties that should be encoded for a given feature- Specified by:
- getFeaturePropertiesin interface- GMLDelegate
- Parameters:
- f- A sample feature
- element- The xml element holding the feature type
- e- The encoder
 
 - 
createEnvelopeEncoderpublic EnvelopeEncoder createEnvelopeEncoder(Encoder e) Description copied from interface:GMLDelegateCreates the envelope encoder- Specified by:
- createEnvelopeEncoderin interface- GMLDelegate
 
 - 
setSrsNameAttributepublic void setSrsNameAttribute(AttributesImpl atts, CoordinateReferenceSystem crs) Description copied from interface:GMLDelegateSets the SRS attribute with the proper syntax for the given GML version- Specified by:
- setSrsNameAttributein interface- GMLDelegate
 
 - 
setGeometryDimensionAttributepublic void setGeometryDimensionAttribute(AttributesImpl atts, int dimension) Description copied from interface:GMLDelegateSets the dimensions attribute, if available for the current GML version- Specified by:
- setGeometryDimensionAttributein interface- GMLDelegate
 
 - 
initFidAttributepublic void initFidAttribute(AttributesImpl atts) Description copied from interface:GMLDelegateInitializes an empty feature id attribute, the attribute must be the first one in "atts"- Specified by:
- initFidAttributein interface- GMLDelegate
 
 - 
startFeaturespublic void startFeatures(GMLWriter handler) throws Exception Description copied from interface:GMLDelegateWrites whatever per collection preamble is needed in this GML version- Specified by:
- startFeaturesin interface- GMLDelegate
- Throws:
- Exception
 
 - 
startFeaturepublic void startFeature(GMLWriter handler) throws Exception Description copied from interface:GMLDelegateWrites whatever per feature preamble is needed in this GML version- Specified by:
- startFeaturein interface- GMLDelegate
- Throws:
- Exception
 
 - 
endFeaturepublic void endFeature(GMLWriter handler) throws Exception Description copied from interface:GMLDelegateCloses a single feature- Specified by:
- endFeaturein interface- GMLDelegate
- Throws:
- Exception
 
 - 
endFeaturespublic void endFeatures(GMLWriter handler) throws Exception Description copied from interface:GMLDelegateCloses a collection of features- Specified by:
- endFeaturesin interface- GMLDelegate
- Throws:
- Exception
 
 - 
registerGeometryEncoderspublic void registerGeometryEncoders(Map<Class,GeometryEncoder<? extends Geometry>> encoders, Encoder encoder) Description copied from interface:GMLDelegateRegisters all the geometry encoders for this GML version in a map, by geometry class (different versions support different types of geometries, e.g., GML3 supports also curved ones)- Specified by:
- registerGeometryEncodersin interface- GMLDelegate
 
 - 
getGmlPrefixpublic String getGmlPrefix() throws Exception Description copied from interface:GMLDelegateThe GML prefix used by this encoding session- Specified by:
- getGmlPrefixin interface- GMLDelegate
- Throws:
- Exception
 
 - 
supportsTuplespublic boolean supportsTuples() Description copied from interface:GMLDelegateReturns true if tuple encoding is supported in this standard- Specified by:
- supportsTuplesin interface- GMLDelegate
 
 - 
startTuplepublic void startTuple(GMLWriter handler) throws SAXException Description copied from interface:GMLDelegateWrites the tuple preamble- Specified by:
- startTuplein interface- GMLDelegate
- Throws:
- SAXException
 
 - 
endTuplepublic void endTuple(GMLWriter handler) throws SAXException Description copied from interface:GMLDelegateCloses a tuple- Specified by:
- endTuplein interface- GMLDelegate
- Throws:
- SAXException
 
 - 
getSchemapublic XSD getSchema() Description copied from interface:GMLDelegateThe XSD schema used by this GML version- Specified by:
- getSchemain interface- GMLDelegate
 
 - 
getNumDecimalspublic int getNumDecimals() Description copied from interface:GMLDelegateNumber of decimals used in the output- Specified by:
- getNumDecimalsin interface- GMLDelegate
 
 - 
forceDecimalEncodingpublic boolean forceDecimalEncoding() Description copied from interface:GMLDelegateReturns true if coordinates should be encoded as xs:decimal instead of xs:double- Specified by:
- forceDecimalEncodingin interface- GMLDelegate
 
 - 
getEncodeMeasurespublic boolean getEncodeMeasures() Description copied from interface:GMLDelegateControls if coordinates measures should be included in WFS outputs.- Specified by:
- getEncodeMeasuresin interface- GMLDelegate
- Returns:
- TRUE if measures should be encoded, otherwise FALSE
 
 - 
padWithZerospublic boolean padWithZeros() Description copied from interface:GMLDelegateReturns true if coordinates should be right-padded with zeros up to the requested number of decimals.- Specified by:
- padWithZerosin interface- GMLDelegate
 
 
- 
 
-