|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.wfs.transaction.TransactionOperation org.deegree.protocol.wfs.transaction.Insert
public class Insert
Represents a WFS Insert
operation (part of a Transaction
request).
NOTE: Due to the possible size of Insert
operations, this...
Transaction
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.deegree.protocol.wfs.transaction.TransactionOperation |
---|
TransactionOperation.Type |
Constructor Summary | |
---|---|
Insert(String handle,
IDGenMode idGenMode,
String inputFormat,
String srsName,
XMLStreamReader encodedFeatures)
Creates a new Insert instance. |
Method Summary | |
---|---|
XMLStreamReader |
getFeatures()
Returns an XMLStreamReader that provides access to the encoded features to be inserted. |
IDGenMode |
getIdGen()
Returns the mode for the generation of feature identifiers. |
String |
getInputFormat()
Returns the format of encoded feature instances. |
String |
getSRSName()
Returns the specified coordinate system for the geometries to be inserted. |
TransactionOperation.Type |
getType()
Always returns TransactionOperation.Type.INSERT . |
Methods inherited from class org.deegree.protocol.wfs.transaction.TransactionOperation |
---|
getHandle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Insert(String handle, IDGenMode idGenMode, String inputFormat, String srsName, XMLStreamReader encodedFeatures)
Insert
instance.
handle
- identifier for the operation, can be nullidGenMode
- controls how identifiers for newly inserted feature instances are generated, can be null (unspecified)inputFormat
- the format of encoded feature instances, may be null (unspecified)srsName
- the coordinate references system used for the geometries, may be null (unspecified)encodedFeatures
- provides access to the XML encoded features, cursor must point at the START_ELEMENT
event
of the first Feature
to be inserted, must not be nullMethod Detail |
---|
public TransactionOperation.Type getType()
TransactionOperation.Type.INSERT
.
getType
in class TransactionOperation
TransactionOperation.Type.INSERT
public IDGenMode getIdGen()
public String getInputFormat()
public String getSRSName()
public XMLStreamReader getFeatures()
XMLStreamReader
that provides access to the encoded features to be inserted.
NOTE: The client must read this stream exactly once and exactly up to the next tag event after the closing
element of the feature/feature collection, i.e. the END_ELEMENT of the surrounding Insert
element.
XMLStreamReader
that provides access to the XML encoded features, cursor must point at the
START_ELEMENT
event of the first Feature
to be inserted, never null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |