Package org.drools.compiler.rule.builder
Class XpathAnalysis
- java.lang.Object
-
- org.drools.compiler.rule.builder.XpathAnalysis
-
- All Implemented Interfaces:
Iterable<XpathAnalysis.XpathPart>
public class XpathAnalysis extends Object implements Iterable<XpathAnalysis.XpathPart>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXpathAnalysis.XpathPart
-
Constructor Summary
Constructors Constructor Description XpathAnalysis(List<XpathAnalysis.XpathPart> parts, String error)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XpathAnalysisanalyze(String xpath)StringgetError()XpathAnalysis.XpathPartgetPart(int i)List<XpathAnalysis.XpathPart>getParts()booleanhasError()booleanisSinglePart()Iterator<XpathAnalysis.XpathPart>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
XpathAnalysis
public XpathAnalysis(List<XpathAnalysis.XpathPart> parts, String error)
-
-
Method Detail
-
hasError
public boolean hasError()
-
getError
public String getError()
-
iterator
public Iterator<XpathAnalysis.XpathPart> iterator()
- Specified by:
iteratorin interfaceIterable<XpathAnalysis.XpathPart>
-
getParts
public List<XpathAnalysis.XpathPart> getParts()
-
getPart
public XpathAnalysis.XpathPart getPart(int i)
-
isSinglePart
public boolean isSinglePart()
-
analyze
public static XpathAnalysis analyze(String xpath)
-
-