org.deegree.gml.feature.schema
Class ApplicationSchemaXSDEncoder
java.lang.Object
org.deegree.gml.feature.schema.ApplicationSchemaXSDEncoder
public class ApplicationSchemaXSDEncoder
- extends Object
Stream-based writer for GML application schemas.
- Version:
- $Revision: 22200 $, $Date: 2010-01-26 14:22:28 +0100 (Di, 26 Jan 2010) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GML_2_DEFAULT_INCLUDE
public static final String GML_2_DEFAULT_INCLUDE
- See Also:
- Constant Field Values
GML_30_DEFAULT_INCLUDE
public static final String GML_30_DEFAULT_INCLUDE
- See Also:
- Constant Field Values
GML_31_DEFAULT_INCLUDE
public static final String GML_31_DEFAULT_INCLUDE
- See Also:
- Constant Field Values
GML_32_DEFAULT_INCLUDE
public static final String GML_32_DEFAULT_INCLUDE
- See Also:
- Constant Field Values
ApplicationSchemaXSDEncoder
public ApplicationSchemaXSDEncoder(GMLVersion version,
Map<String,String> importURLs)
- Creates a new
ApplicationSchemaXSDEncoder
for the given GML version and optional import URL.
- Parameters:
version
- gml version that exported schemas will comply to, must not be null
importURLs
- to be imported in the generated schema document, this may also contain a URL for the gml namespace,
may be null
export
public void export(XMLStreamWriter writer,
ApplicationSchema schema)
throws XMLStreamException
- Parameters:
writer
- schema
-
- Throws:
XMLStreamException
export
public void export(XMLStreamWriter writer,
List<FeatureType> fts)
throws XMLStreamException
- Parameters:
writer
- fts
-
- Throws:
XMLStreamException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>