|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.in.Condition
Defines condition attached to path part.
| Constructor Summary | |
Condition(com.ricebridge.xmlman.tp.expr.PredicateSet pPredicateSet)
Create from PredicateSet. |
|
| Method Summary | |
void |
addSubPath(TargetPath pTargetPath)
Attach the XPaths that define this condition. |
void |
clearSubPaths(DocContext pDocContext)
Clear the XPaths that define this condition so that they can be reused on the next record. |
int |
getPosition()
Return value of position predicate, if available, else 1. |
com.ricebridge.xmlman.tp.expr.PredicateSet |
getPredicateSet()
Get the PredicateSet. |
boolean |
isMatch(PartContext pPartContext,
DocContext pDocContext)
Check if condition matches - true by default to avoid losing data. |
String |
toString()
Debugging description. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Condition(com.ricebridge.xmlman.tp.expr.PredicateSet pPredicateSet)
PredicateSet.
pPredicateSet - jaxen PredicateSet| Method Detail |
public int getPosition()
public com.ricebridge.xmlman.tp.expr.PredicateSet getPredicateSet()
PredicateSet.
public boolean isMatch(PartContext pPartContext,
DocContext pDocContext)
pPartContext - current part contextpDocContext - current parse statepublic void addSubPath(TargetPath pTargetPath)
public void clearSubPaths(DocContext pDocContext)
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||