org.apache.jackrabbit.webdav.observation
Class Filter

java.lang.Object
  extended by org.apache.jackrabbit.webdav.observation.Filter
All Implemented Interfaces:
XmlSerializable

public class Filter
extends Object
implements XmlSerializable

Filter...


Constructor Summary
Filter(Element filterElem)
           
Filter(String filterName, Namespace filterNamespace, String filterValue)
           
 
Method Summary
 String getName()
           
 Namespace getNamespace()
           
 String getValue()
           
 boolean isMatchingFilter(String localName, Namespace namespace)
           
 Element toXml(Document document)
          Returns the xml representation of the implementing object as Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter(String filterName,
              Namespace filterNamespace,
              String filterValue)

Filter

public Filter(Element filterElem)
Method Detail

getName

public String getName()

getNamespace

public Namespace getNamespace()

getValue

public String getValue()

isMatchingFilter

public boolean isMatchingFilter(String localName,
                                Namespace namespace)

toXml

public Element toXml(Document document)
Description copied from interface: XmlSerializable
Returns the xml representation of the implementing object as Element. The given Document is used as factory and represents the owner document of the returned DOM element.

Specified by:
toXml in interface XmlSerializable
Parameters:
document - to be used as factory.
Returns:
a w3c element representing this object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.