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