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 class
XpathAnalysis.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 XpathAnalysis
analyze(java.lang.String xpath)
java.lang.String
getError()
XpathAnalysis.XpathPart
getPart(int i)
java.util.List<XpathAnalysis.XpathPart>
getParts()
boolean
hasError()
boolean
isSinglePart()
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:
iterator
in 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)
-
-