deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.gml.feature.schema
Class ApplicationSchemaXSDEncoder

java.lang.Object
  extended by 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 $

Field Summary
static String GML_2_DEFAULT_INCLUDE
           
static String GML_30_DEFAULT_INCLUDE
           
static String GML_31_DEFAULT_INCLUDE
           
static String GML_32_DEFAULT_INCLUDE
           
 
Constructor Summary
ApplicationSchemaXSDEncoder(GMLVersion version, Map<String,String> importURLs)
          Creates a new ApplicationSchemaXSDEncoder for the given GML version and optional import URL.
 
Method Summary
 void export(XMLStreamWriter writer, ApplicationSchema schema)
           
 void export(XMLStreamWriter writer, List<FeatureType> fts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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
Method Detail

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>