/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.se.xml.v110;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.geotoolkit.ogc.xml.v110.ExpressionType;
import org.opengis.filter.expression.ExpressionVisitor;
/**
* <p>Java class for FunctionType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="FunctionType">
* <complexContent>
* <extension base="{http://www.opengis.net/ogc}ExpressionType">
* <attribute name="fallbackValue" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FunctionType")
@XmlSeeAlso({
CategorizeType.class,
TrimType.class,
InterpolateType.class,
RecodeType.class,
StringPositionType.class,
SubstringType.class,
ConcatenateType.class,
StringLengthType.class,
FormatDateType.class,
ChangeCaseType.class,
FormatNumberType.class
})
public abstract class FunctionType
extends ExpressionType
{
@XmlAttribute(required = true)
protected String fallbackValue;
/**
* Gets the value of the fallbackValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFallbackValue() {
return fallbackValue;
}
/**
* Sets the value of the fallbackValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFallbackValue(final String value) {
this.fallbackValue = value;
}
public Object evaluate(final Object object) {
throw new UnsupportedOperationException("Not supported yet.");
}
public <T> T evaluate(final Object object, final Class<T> context) {
throw new UnsupportedOperationException("Not supported yet.");
}
public Object accept(final ExpressionVisitor visitor, final Object extraData) {
throw new UnsupportedOperationException("Not supported yet.");
}
}