|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.xml.Filter200XMLDecoder
public class Filter200XMLDecoder
Decodes XML fragments that comply to the OGC Filter Encoding Specification 2.0.0.
| Constructor Summary | |
|---|---|
Filter200XMLDecoder()
|
|
| Method Summary | |
|---|---|
static Filter |
parse(XMLStreamReader xmlStream)
Returns the object representation for the given fes:Filter element event that the cursor of the
given XMLStreamReader points at. |
static ComparisonOperator |
parseComparisonOperator(XMLStreamReader xmlStream)
Returns the object representation for the given fes:comparisonOps element event that the cursor of
the given XMLStreamReader points at. |
static CustomExpression |
parseCustomExpression(XMLStreamReader xmlStream)
Returns the object representation for the custom fes:expression substitution element event that the
cursor of the given XMLStreamReader points at. |
static Expression |
parseExpression(XMLStreamReader xmlStream)
Returns the object representation for the given fes:expression element event that the cursor of the
associated XMLStreamReader points at. |
static Function |
parseFunction(XMLStreamReader xmlStream)
Returns the object representation for the given fes:Function element event that the cursor of the
associated XMLStreamReader points at. |
static TemporalOperator |
parseTemporalOperator(XMLStreamReader xmlStream)
Returns the object representation for the given fes:temporalOps element event that the cursor of the
given XMLStreamReader points at. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter200XMLDecoder()
| Method Detail |
|---|
public static Filter parse(XMLStreamReader xmlStream)
throws XMLParsingException,
XMLStreamException
fes:Filter element event that the cursor of the
given XMLStreamReader points at.
START_ELEMENT event (<fes:Filter>)END_ELEMENT event (</fes:Filter>)
xmlStream - must not be null and cursor must point at the START_ELEMENT event
(<fes:Filter>), points at the corresponding END_ELEMENT event (</fes:Filter>)
afterwards
Filter object, never null
XMLParsingException - if the element is not a valid "fes:Filter" element
XMLStreamException
public static Expression parseExpression(XMLStreamReader xmlStream)
throws XMLStreamException
fes:expression element event that the cursor of the
associated XMLStreamReader points at.
The element must be one of the following:
CustomExpression instance)
START_ELEMENT event (<fes:expression>)END_ELEMENT event (</fes:expression>)
xmlStream - cursor must point at the START_ELEMENT event (<fes:expression>), points at the
corresponding END_ELEMENT event (</fes:expression>) afterwards
Expression object, never null
XMLParsingException - if the element is not a valid "fes:expression" element
XMLStreamException
public static Function parseFunction(XMLStreamReader xmlStream)
throws XMLStreamException
fes:Function element event that the cursor of the
associated XMLStreamReader points at.
START_ELEMENT event (<fes:Function>)END_ELEMENT event (</fes:Function>)
xmlStream - cursor must point at the START_ELEMENT event (<fes:Function>), points at the
corresponding END_ELEMENT event (</fes:Function>) afterwards
Function object, never null
XMLParsingException - if the element is not a valid "ogc:Function" element
XMLStreamException
public static CustomExpression parseCustomExpression(XMLStreamReader xmlStream)
throws XMLStreamException
fes:expression substitution element event that the
cursor of the given XMLStreamReader points at.
START_ELEMENT event (<fes:expression>)END_ELEMENT event (</fes:expression>)
xmlStream - cursor must point at the START_ELEMENT event (<fes:expression>), points at the
corresponding END_ELEMENT event (</fes:expression>) afterwards
CustomExpression object
XMLParsingException - if the element is not a known or valid custom "fes:expression" element
XMLStreamException
public static ComparisonOperator parseComparisonOperator(XMLStreamReader xmlStream)
throws XMLStreamException
fes:comparisonOps element event that the cursor of
the given XMLStreamReader points at.
The element must be one of the following:
START_ELEMENT event (<ogc:comparisonOps>)END_ELEMENT event (</ogc:comparisonOps>)
xmlStream - must not be null and cursor must point at the START_ELEMENT event
(<fes:comparisonOps>), points at the corresponding END_ELEMENT event
(</fes:comparisonOps>) afterwards
ComparisonOperator object, never null
XMLParsingException - if the element is not a valid "ogc:comparisonOps" element
XMLStreamException
public static TemporalOperator parseTemporalOperator(XMLStreamReader xmlStream)
throws XMLStreamException
fes:temporalOps element event that the cursor of the
given XMLStreamReader points at.
The element must be one of the following:
START_ELEMENT event (<fes:temporalOps>)END_ELEMENT event (</fes:temporalOps>)
xmlStream - must not be null and cursor must point at the START_ELEMENT event
(<fes:temporalOps>), points at the corresponding END_ELEMENT event
(</fes:temporalOps>) afterwards
TemporalOperator object, never null
XMLParsingException - if the element is not a valid "ogc:temporalOps" element
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||