org.apache.abdera.ext.features
Class XPathSelector

java.lang.Object
  extended by org.apache.abdera.ext.features.AbstractSelector
      extended by org.apache.abdera.ext.features.XPathSelector
All Implemented Interfaces:
Serializable, Cloneable, Selector

public class XPathSelector
extends AbstractSelector
implements Selector

Selects a collection based on a boolean XPath expression

See Also:
Serialized Form

Constructor Summary
XPathSelector(String path)
           
XPathSelector(String path, XPath xpath)
           
XPathSelector(String path, XPath xpath, Map<String,String> namespaces)
           
 
Method Summary
 void addNamespace(String prefix, String uri)
           
 String getFeaturesPrefix()
           
 boolean select(Collection collection)
           
 
Methods inherited from class org.apache.abdera.ext.features.AbstractSelector
clone, copy
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.abdera.ext.features.Selector
clone
 

Constructor Detail

XPathSelector

public XPathSelector(String path)

XPathSelector

public XPathSelector(String path,
                     XPath xpath)

XPathSelector

public XPathSelector(String path,
                     XPath xpath,
                     Map<String,String> namespaces)
Method Detail

getFeaturesPrefix

public String getFeaturesPrefix()

select

public boolean select(Collection collection)
Specified by:
select in interface Selector

addNamespace

public void addNamespace(String prefix,
                         String uri)


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.