org.apache.lucene.gdata.search.analysis
Class DomIndexable<R extends Node,I extends ServerBaseEntry>
java.lang.Object
org.apache.lucene.gdata.search.analysis.Indexable<R,I>
org.apache.lucene.gdata.search.analysis.DomIndexable<R,I>
- Type Parameters:
R
- -
a subtype of Node
returned by the applyPath
methodI
- -
a subtype of ServerBaseEntry
public class DomIndexable<R extends Node,I extends ServerBaseEntry>
- extends Indexable<R,I>
Indexable implementation using the W3C Dom API and JAXP XPath
engine
- Author:
- Simon Willnauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomIndexable
public DomIndexable(I applyAble)
throws NotIndexableException
- Parameters:
applyAble
-
- Throws:
NotIndexableException
applyPath
public R applyPath(String expression)
throws javax.xml.xpath.XPathExpressionException
- Specified by:
applyPath
in class Indexable<R extends Node,I extends ServerBaseEntry>
- Parameters:
expression
- -
a valid xpath expression
- Returns:
- - the requested element R
- Throws:
javax.xml.xpath.XPathExpressionException
- See Also:
Indexable.applyPath(java.lang.String)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.