org.deegree.gml.props
Class GMLStdPropsWriter

java.lang.Object
  extended by org.deegree.gml.props.GMLStdPropsWriter

public class GMLStdPropsWriter
extends Object

Stream-based writer for the GMLStdProps that can occur at the beginning of every GML encoded object. TODO handle gml:metadataProperty, gml:identifier and gml:descriptionReference

Version:
$Revision: 31639 $, $Date: 2011-08-24 21:02:10 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GMLStdPropsWriter(GMLVersion version, XMLStreamWriter writer)
          Creates a new GMLStdPropsWriter instance.
 
Method Summary
 void write(GMLStdProps props)
          Writes a GML representation of the given GMLStdProps to the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLStdPropsWriter

public GMLStdPropsWriter(GMLVersion version,
                         XMLStreamWriter writer)
Creates a new GMLStdPropsWriter instance.

Parameters:
version - GML version, must not be null
writer - XML stream used to write the output, must not be null
Method Detail

write

public void write(GMLStdProps props)
           throws XMLStreamException
Writes a GML representation of the given GMLStdProps to the stream.

Parameters:
props - properties to be exported, must not be null
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.