org.geotools.filter.text.commons
Class PeriodNode

java.lang.Object
  extended by org.geotools.filter.text.commons.PeriodNode

public class PeriodNode
extends java.lang.Object

Period is constructed in the parsing process. this has convenient method to deliver begin and end date of period. a period can be created from date-time/date-time or date-time/duration or duration/date-time

Warning: This component is not published. It is part of module implementation. Client module should not use this feature.

Since:
2.4
Version:
$Id: PeriodNode.java 31937 2008-12-01 13:54:45Z mauricio.pazos $
Author:
Mauricio Pazos - Axios Engineering, Gabriel Roldan - Axios Engineering

Method Summary
static PeriodNode createPeriodDateAndDate(org.opengis.filter.expression.Literal beginDate, org.opengis.filter.expression.Literal endDate)
           
static PeriodNode createPeriodDateAndDuration(org.opengis.filter.expression.Literal date, org.opengis.filter.expression.Literal duration, org.opengis.filter.FilterFactory filterFactory)
           
static PeriodNode createPeriodDurationAndDate(org.opengis.filter.expression.Literal duration, org.opengis.filter.expression.Literal date, org.opengis.filter.FilterFactory filterFactory)
           
 org.opengis.filter.expression.Literal getBeginning()
           
 org.opengis.filter.expression.Literal getEnding()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPeriodDateAndDate

public static PeriodNode createPeriodDateAndDate(org.opengis.filter.expression.Literal beginDate,
                                                 org.opengis.filter.expression.Literal endDate)

createPeriodDateAndDuration

public static PeriodNode createPeriodDateAndDuration(org.opengis.filter.expression.Literal date,
                                                     org.opengis.filter.expression.Literal duration,
                                                     org.opengis.filter.FilterFactory filterFactory)

createPeriodDurationAndDate

public static PeriodNode createPeriodDurationAndDate(org.opengis.filter.expression.Literal duration,
                                                     org.opengis.filter.expression.Literal date,
                                                     org.opengis.filter.FilterFactory filterFactory)

getBeginning

public org.opengis.filter.expression.Literal getBeginning()
Returns:
Literal with begining date of period

getEnding

public org.opengis.filter.expression.Literal getEnding()
Returns:
with ending date of period


Copyright © 1996-2010 Geotools. All Rights Reserved.