|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.XMLEncoder
Exports a filter as a OGC XML Filter document. This class is does not generate namespace compliant xml, even though it does print gml prefixes. It was also written before the 1.0 filter spec, so some of it may be not up to date.
Constructor Summary | |
XMLEncoder(java.io.Writer out)
Deprecated. Constructor with writer to write filters to. |
|
XMLEncoder(java.io.Writer out,
Filter filter)
Deprecated. Creates a new instance of XMLEncoder |
Method Summary | |
void |
encode(Expression expression)
Deprecated. Encodes the expression to the current writer. |
void |
encode(Filter filter)
Deprecated. Encodes the filter to the current writer. |
void |
visit(AttributeExpression expression)
Deprecated. Writes the xml representation of an Attribute expression. |
void |
visit(BetweenFilter filter)
Deprecated. Writes the xml representation of a Between filter. |
void |
visit(CompareFilter filter)
Deprecated. Writes the xml representation of a compare filter. |
void |
visit(Expression expression)
Deprecated. This should never be called. |
void |
visit(FidFilter filter)
Deprecated. Writes the xml representation of a fid filter. |
void |
visit(Filter filter)
Deprecated. This should never be called. |
void |
visit(FunctionExpression expression)
Deprecated. Writes the xml representation of a expression. |
void |
visit(GeometryFilter filter)
Deprecated. Writes the xml representation of a geometry filter. |
void |
visit(LikeFilter filter)
Deprecated. Writes the xml representation of a like filter. |
void |
visit(LiteralExpression expression)
Deprecated. Export the contents of a Literal Expresion |
void |
visit(LogicFilter filter)
Deprecated. Writes the xml representation of a logic filter. |
void |
visit(MathExpression expression)
Deprecated. Writes the xml representation of a expression. |
void |
visit(NullFilter filter)
Deprecated. Writes the xml representation of a null filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLEncoder(java.io.Writer out)
out
- where to write the xml representation of filters.public XMLEncoder(java.io.Writer out, Filter filter)
out
- The writer to write to.filter
- the filter to encode.Method Detail |
public void encode(Filter filter) throws java.io.IOException
filter
- the filter to encode.
java.io.IOException
- if there are problems writing to out.public void encode(Expression expression)
expression
- the expression to encode.public void visit(Filter filter)
visit
in interface FilterVisitor
filter
- The filter to visitpublic void visit(BetweenFilter filter)
visit
in interface FilterVisitor
filter
- the between filter to encode.public void visit(LikeFilter filter)
visit
in interface FilterVisitor
filter
- the like filter to encode.public void visit(LogicFilter filter)
visit
in interface FilterVisitor
filter
- the logic filter to encode.public void visit(CompareFilter filter)
visit
in interface FilterVisitor
filter
- the compare filter to encode.public void visit(GeometryFilter filter)
visit
in interface FilterVisitor
filter
- the geometry filter to encode.public void visit(NullFilter filter)
visit
in interface FilterVisitor
filter
- the null filter to encode.public void visit(FidFilter filter)
visit
in interface FilterVisitor
filter
- the fid filter to encode.public void visit(AttributeExpression expression)
visit
in interface FilterVisitor
expression
- the attribute expression to encode.public void visit(Expression expression)
visit
in interface FilterVisitor
expression
- the expression to encode.public void visit(LiteralExpression expression)
visit
in interface FilterVisitor
expression
- the Literal to exportpublic void visit(MathExpression expression)
visit
in interface FilterVisitor
expression
- the expression to encode.public void visit(FunctionExpression expression)
visit
in interface FilterVisitor
expression
- the expression to encode.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |