|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.wfs.transaction.TransactionXMLAdapter
public class TransactionXMLAdapter
Adapter between XML encoded Transaction
requests and Transaction
objects.
Constructor Summary | |
---|---|
TransactionXMLAdapter()
|
Method Summary | |
---|---|
static Transaction |
parse(XMLStreamReader xmlStream)
Parses a WFS Transaction document into a Transaction request. |
static Transaction |
parse110(XMLStreamReader xmlStream)
Parses a WFS 1.1.0 Transaction document into a Transaction request. |
(package private) static Delete |
parseDelete110(XMLStreamReader xmlStream)
Returns the object representation of a wfs:Delete element. |
(package private) static Insert |
parseInsert110(XMLStreamReader xmlStream)
Returns the object representation of a wfs:Insert element. |
(package private) static Native |
parseNative110(XMLStreamReader xmlStream)
|
(package private) static TransactionOperation |
parseOperation110(XMLStreamReader xmlStream)
|
(package private) static PropertyReplacement |
parseProperty110(XMLStreamReader xmlStream)
|
(package private) static Update |
parseUpdate110(XMLStreamReader xmlStream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionXMLAdapter()
Method Detail |
---|
public static Transaction parse(XMLStreamReader xmlStream) throws XMLStreamException
Transaction
document into a Transaction
request.
Supported versions:
Transaction
request
XMLStreamException
XMLParsingException
- if a syntax error occurs in the XML
InvalidParameterValueException
- if a parameter contains a syntax errorpublic static Transaction parse110(XMLStreamReader xmlStream) throws XMLStreamException
Transaction
document into a Transaction
request.
Transaction
request
XMLStreamException
XMLParsingException
- if a syntax error occurs in the XML
InvalidParameterValueException
- if a parameter contains a syntax errorstatic TransactionOperation parseOperation110(XMLStreamReader xmlStream) throws XMLParsingException, XMLStreamException
XMLParsingException
XMLStreamException
static Delete parseDelete110(XMLStreamReader xmlStream) throws XMLStreamException
wfs:Delete
element. Consumes all corresponding events from
the given XMLStream
.
xmlStream
- cursor must point at the START_ELEMENT
event (<wfs:Delete>), points at the
corresponding END_ELEMENT
event (</wfs:Delete>) afterwards
Delete
object
XMLStreamException
XMLParsingException
static Insert parseInsert110(XMLStreamReader xmlStream) throws XMLStreamException
wfs:Insert
element. NOTE: Does *not* consume all
corresponding events from the given XMLStream
.
xmlStream
- cursor must point at the START_ELEMENT
event (<wfs:Insert>)
Insert
object
XMLStreamException
XMLParsingException
static Update parseUpdate110(XMLStreamReader xmlStream) throws XMLStreamException
XMLStreamException
static PropertyReplacement parseProperty110(XMLStreamReader xmlStream) throws XMLStreamException
XMLStreamException
static Native parseNative110(XMLStreamReader xmlStream)
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |