org.geotools.gml3
Class GMLConfiguration

Object
  extended by Configuration
      extended by GMLConfiguration

public class GMLConfiguration
extends Configuration

Parser configuration for the gml3 schema.

Author:
Justin Deoliveira, The Open Planning Project

Field Summary
static QName ENCODE_FEATURE_MEMBER
          Boolean property which controls whether the FeatureCollection should be encoded with multiple featureMember as opposed to a single featureMembers
static QName NO_FEATURE_BOUNDS
          Boolean property which controls whether encoded features should include bounds.
static QName NO_SRS_DIMENSION
          Boolean property which controls whether geometry and envelope objects are encoded with an srs dimension attribute.
protected  SrsSyntax srsSyntax
          Srs name style to encode srsName URI's with
 
Constructor Summary
GMLConfiguration()
           
GMLConfiguration(boolean extArcSurfaceSupport)
           
 
Method Summary
 void configureContext(MutablePicoContainer container)
          Configures the gml3 context.
 SrsSyntax getSrsSyntax()
          Returns the syntax to use for encoding srs uris.
 boolean isExtendedArcSurfaceSupport()
           
protected  void registerBindings(MutablePicoContainer container)
          Registers the bindings for the configuration.
 void setExtendedArcSurfaceSupport(boolean arcSurfaceSupport)
          Flag that when set triggers extended support for arcs and surfaces.
 void setSrsSyntax(SrsSyntax srsSyntax)
          Sets the syntax to use for encoding srs uris.
 
Methods inherited from class Configuration
addDependency, allDependencies, configureBindings, configureBindings, configureEncoder, configureParser, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, registerBindings, schema, setupBindings, setupBindings, setupContext, setupEncoder, setupParser
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_FEATURE_BOUNDS

public static final QName NO_FEATURE_BOUNDS
Boolean property which controls whether encoded features should include bounds.


ENCODE_FEATURE_MEMBER

public static final QName ENCODE_FEATURE_MEMBER
Boolean property which controls whether the FeatureCollection should be encoded with multiple featureMember as opposed to a single featureMembers


NO_SRS_DIMENSION

public static final QName NO_SRS_DIMENSION
Boolean property which controls whether geometry and envelope objects are encoded with an srs dimension attribute.


srsSyntax

protected SrsSyntax srsSyntax
Srs name style to encode srsName URI's with

Constructor Detail

GMLConfiguration

public GMLConfiguration()

GMLConfiguration

public GMLConfiguration(boolean extArcSurfaceSupport)
Method Detail

setSrsSyntax

public void setSrsSyntax(SrsSyntax srsSyntax)
Sets the syntax to use for encoding srs uris.

If this method is not explicitly called SrsSyntax#URN is used as the default.


getSrsSyntax

public SrsSyntax getSrsSyntax()
Returns the syntax to use for encoding srs uris.


setExtendedArcSurfaceSupport

public void setExtendedArcSurfaceSupport(boolean arcSurfaceSupport)
Flag that when set triggers extended support for arcs and surfaces.


isExtendedArcSurfaceSupport

public boolean isExtendedArcSurfaceSupport()

registerBindings

protected void registerBindings(MutablePicoContainer container)
Description copied from class: Configuration
Registers the bindings for the configuration.

This method is intended to provide the default bindings for a configuration and is intended to be subclassed by client code. Client code should use Configuration.configureBindings(MutablePicoContainer) .

Subclasses should mark this method as final after implementing.

Overrides:
registerBindings in class Configuration
Parameters:
container - Container containing all bindings, keyed by QName.

configureContext

public void configureContext(MutablePicoContainer container)
Configures the gml3 context.

The following factories are registered:

Overrides:
configureContext in class Configuration
Parameters:
container - The container representing the context.


Copyright © 1996-2014 Geotools. All Rights Reserved.