org.dom4j.xpath

Class XPathPattern

public class XPathPattern extends Object implements Pattern

XPathPattern is an implementation of Pattern which uses an XPath xpath.

Version: $Revision: 1.18.2.1 $

Author: James Strachan

Constructor Summary
XPathPattern(Pattern pattern)
XPathPattern(String text)
Method Summary
protected ContextSupportgetContextSupport()
StringgetMatchesNodeName()
shortgetMatchType()
doublegetPriority()
StringgetText()
Pattern[]getUnionPatterns()
protected voidhandleJaxenException(JaxenException exception)
booleanmatches(Node node)
voidsetVariableContext(VariableContext variableContext)
StringtoString()

Constructor Detail

XPathPattern

public XPathPattern(Pattern pattern)

XPathPattern

public XPathPattern(String text)

Method Detail

getContextSupport

protected ContextSupport getContextSupport()

getMatchesNodeName

public String getMatchesNodeName()

getMatchType

public short getMatchType()

getPriority

public double getPriority()

getText

public String getText()

getUnionPatterns

public Pattern[] getUnionPatterns()

handleJaxenException

protected void handleJaxenException(JaxenException exception)

matches

public boolean matches(Node node)

setVariableContext

public void setVariableContext(VariableContext variableContext)

toString

public String toString()
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge