|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(java.lang.String handle,
FeatureStoreTransaction.IDGenMode idGenMode,
java.lang.String inputFormat,
java.lang.String srsName,
javax.xml.stream.XMLStreamReader encodedFeatures)
Creates a new Insert instance. |
|
| Method Summary | |
|---|---|
javax.xml.stream.XMLStreamReader |
getFeatures()
Returns an XMLStreamReader that provides access to the encoded features to be inserted. |
FeatureStoreTransaction.IDGenMode |
getIdGen()
Returns the mode for the generation of feature identifiers. |
java.lang.String |
getInputFormat()
Returns the format of encoded feature instances. |
java.lang.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(java.lang.String handle,
FeatureStoreTransaction.IDGenMode idGenMode,
java.lang.String inputFormat,
java.lang.String srsName,
javax.xml.stream.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 null| Method Detail |
|---|
public TransactionOperation.Type getType()
TransactionOperation.Type.INSERT.
getType in class TransactionOperationTransactionOperation.Type.INSERTpublic FeatureStoreTransaction.IDGenMode getIdGen()
public java.lang.String getInputFormat()
public java.lang.String getSRSName()
public javax.xml.stream.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 | |||||||||