|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectExpressionSAXParser
public class ExpressionSAXParser
DOCUMENT ME!
modules/library/main (gt-main.jar)
Constructor Summary | |
---|---|
ExpressionSAXParser()
|
|
ExpressionSAXParser(FilterFactory factory)
|
|
ExpressionSAXParser(SimpleFeatureType schema)
Constructor with a schema to read the attribute againset. |
|
ExpressionSAXParser(SimpleFeatureType schema,
FilterFactory factory)
Constructor injection |
Method Summary | |
---|---|
protected static short |
convertType(String expType)
Converts the string representation of the expression to the DefaultExpression short type. |
Expression |
create()
Creates and returns the expression. |
void |
end(String message)
Called when the filter handler has reached the end of an expression |
void |
geometry(Geometry geometry)
Gets geometry. |
String |
getFunctionName(Attributes map)
stolen from the DOM parser -- for a list of attributes, find the "name" ie. for |
boolean |
isReady()
Checks to see if this expression is ready to be returned. |
void |
message(String message,
boolean convertToNumber)
Handles incoming characters. |
void |
setFilterFactory(FilterFactory factory)
Setter injection |
void |
start(String declaredType,
Attributes atts)
Initializes the factory to create a new expression. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionSAXParser()
public ExpressionSAXParser(FilterFactory factory)
public ExpressionSAXParser(SimpleFeatureType schema)
schema
- The schema for attributes (null is fine, as the code for
this is not in place.public ExpressionSAXParser(SimpleFeatureType schema, FilterFactory factory)
Method Detail |
---|
public void setFilterFactory(FilterFactory factory)
public void start(String declaredType, Attributes atts) throws IllegalFilterException
declaredType
- The string representation of the expression type.
IllegalFilterException
- If there are problems creating
expressions.public void end(String message) throws IllegalFilterException
message
- the expression to end.
IllegalFilterException
- If there are problems creating
exceptions.public boolean isReady()
public void message(String message, boolean convertToNumber) throws IllegalFilterException
message
- the incoming chars from the SAX handler.
IllegalFilterException
- If there are problems with filter
constrcution.public void geometry(Geometry geometry) throws IllegalFilterException
geometry
- The geometry from the filter.
IllegalFilterException
- If there are problems creating
expression.public Expression create()
protected static short convertType(String expType)
expType
- Type of filter for check.
public String getFunctionName(Attributes map)
map
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |