org.deegree_impl.services.wfs.filterencoding
Class AbstractFilter

java.lang.Object
  extended byorg.deegree_impl.services.wfs.filterencoding.AbstractFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
ComplexFilter, FeatureFilter

public abstract class AbstractFilter
extends java.lang.Object
implements Filter

Abstract superclass representing elements (as defined in the Filter DTD). A element either consists of (one or more) FeatureId-elements or one operation-element. This is reflected in the two implementations FeatureFilter and ComplexFilter.

Version:
06.08.2002
Author:
Markus Schneider

Constructor Summary
AbstractFilter()
           
 
Method Summary
static Filter buildFromDOM(org.w3c.dom.Element element)
          Given a DOM-fragment, a corresponding Filter-object is built.
abstract  java.lang.StringBuffer toXML()
          Produces an indented XML representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wfs.filterencoding.Filter
evaluate
 

Constructor Detail

AbstractFilter

public AbstractFilter()
Method Detail

buildFromDOM

public static Filter buildFromDOM(org.w3c.dom.Element element)
                           throws FilterConstructionException
Given a DOM-fragment, a corresponding Filter-object is built. This method recursively calls other buildFromDOM () - methods to validate the structure of the DOM-fragment.

Throws:
FilterConstructionException - if the structure of the DOM-fragment is invalid

toXML

public abstract java.lang.StringBuffer toXML()
Produces an indented XML representation of this object.

Specified by:
toXML in interface Filter