Package org.geootols.filter.text.cql_2
Class CQL2ExpressionToText
- Object
-
- ExpressionToText
-
- CQL2ExpressionToText
-
- All Implemented Interfaces:
ExpressionVisitor
public class CQL2ExpressionToText extends ExpressionToText
Subclassed to handle the encoding of date literals
-
-
Constructor Summary
Constructors Constructor Description CQL2ExpressionToText()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilder
dateToText(Date date, StringBuilder output)
Uses the formatyyyy-MM-dd'T'HH:mm:ss'[+|-]##:##'
for output the provided date.protected StringBuilder
periodToText(Period period, StringBuilder output)
-
Methods inherited from class ExpressionToText
propertyNeedsDelimiters, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Method Detail
-
dateToText
public StringBuilder dateToText(Date date, StringBuilder output)
Description copied from class:ExpressionToText
Uses the formatyyyy-MM-dd'T'HH:mm:ss'[+|-]##:##'
for output the provided date.- Overrides:
dateToText
in classExpressionToText
- Returns:
- output
-
periodToText
protected StringBuilder periodToText(Period period, StringBuilder output)
- Overrides:
periodToText
in classExpressionToText
-
-