Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.jst.jsf.core.tagmatcher
Class XPathMatchingAlgorithm

java.lang.Object
  extended by 

org.eclipse.jst.jsf.core.tagmatcher.TagMatchingAlgorithm
      extended by 
org.eclipse.jst.jsf.core.tagmatcher.XPathMatchingAlgorithm

public class XPathMatchingAlgorithm
extends TagMatchingAlgorithm

A algorithm that uses an XPath expression to evaluate a result. The algorithm assumes (although cannot verify beforehand) that the expression provided can be evaluated with a node set return type (see JAXP). If the algorithm's underlying XPath evaluator throws an exception indicating that the return type cannot be coerced to a node set, the algorithm will return an empty set (no match) unless the strictMatching flag is set to true, in which case it will re-throw the exception wrapped as an unchecked EvaluationException.

Provisional API - subject to change


Constructor Summary
XPathMatchingAlgorithm (java.lang.String expression)
           
XPathMatchingAlgorithm (java.lang.String expression, boolean isStrictMatching)
           
 
Method Summary
 
Methods inherited from class org.eclipse.jst.jsf.core.tagmatcher. TagMatchingAlgorithm
evaluate, initialize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathMatchingAlgorithm

public XPathMatchingAlgorithm(java.lang.String expression)
Parameters:
expression -

XPathMatchingAlgorithm

public XPathMatchingAlgorithm(java.lang.String expression,
                              boolean isStrictMatching)
Parameters:
expression -
isStrictMatching -



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire