|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.ExpressionDOMParser
parsez short sections of gml for use in expressions and filters Hopefully we can get away without a full parser here.
Constructor Summary | |
ExpressionDOMParser(FilterFactory factory)
Constructor injection |
Method Summary | |
java.util.List |
coords(org.w3c.dom.Node root)
Parses a dom node into a coordinate list. |
Expression |
expression(org.w3c.dom.Node root)
parses an expression for a filter. |
com.vividsolutions.jts.geom.Geometry |
gml(org.w3c.dom.Node root)
Parses the gml of this node to jts. |
static java.util.List |
parseCoords(org.w3c.dom.Node root)
Deprecated. please use ExpressionDOMParser.coords() |
static Expression |
parseExpression(org.w3c.dom.Node root)
Deprecated. Please use ExpressionDOMParser.expression |
static com.vividsolutions.jts.geom.Geometry |
parseGML(org.w3c.dom.Node root)
Deprecated. Please use ExpressionDOMParser.gml |
void |
setFilterFactory(FilterFactory factory)
Setter injection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExpressionDOMParser(FilterFactory factory)
Method Detail |
public void setFilterFactory(FilterFactory factory)
public static Expression parseExpression(org.w3c.dom.Node root)
root
-
public Expression expression(org.w3c.dom.Node root)
root
- the root node to parse, should be an filter expression.
public static com.vividsolutions.jts.geom.Geometry parseGML(org.w3c.dom.Node root)
root
-
public com.vividsolutions.jts.geom.Geometry gml(org.w3c.dom.Node root)
root
- the parent node of the gml to parse.
public static java.util.List parseCoords(org.w3c.dom.Node root)
root
- the root node representation of gml:coordinates.
public java.util.List coords(org.w3c.dom.Node root)
root
- the root node representation of gml:coordinates.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |