|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nodal.nav.PathOp org.nodal.nav.OpaqueOp
A document PathOperator for an opaque scheme type.
Nested Class Summary |
Nested classes inherited from class org.nodal.nav.PathOp |
PathOp.Factory |
Field Summary |
Fields inherited from class org.nodal.nav.PathOp |
NO_ARGS |
Method Summary | |
Path |
applyTo(Path path)
Apply this PathOp to the given Path. |
java.lang.Object |
arg(int i)
Default implementation of i-th argument. |
java.lang.String[] |
args()
Each PathOperator can be described by an operator name and a set of arguments. |
Getter |
bindFrom(Path pg)
Apply this PathOp to the binding of a bound Path. |
java.lang.String |
functionName()
Each PathOperator can be described by an operator name and a set of arguments. |
boolean |
isDocumentOp()
Is this PathOperator a document-level operator? |
boolean |
isFragmentOp()
Is this PathOperator a fragment-level operator? |
java.lang.String |
toString()
|
Methods inherited from class org.nodal.nav.PathOp |
encoded, findDir, isAbsolute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean isDocumentOp()
PathOperator
All Path operators either select a Document or a location within a Document. Those that select Documents are referred to as "document" operators.
PathOperators may work on both levels (e.g. DerefOp)
isDocumentOp
in interface PathOperator
isDocumentOp
in class PathOp
public boolean isFragmentOp()
PathOperator
All Path operators either select a Document or a location within a Document. Those that operate inside Documents are referred to as "fragment" operators.
PathOperators may work on both levels (e.g. DerefOp)
isFragmentOp
in interface PathOperator
isFragmentOp
in class PathOp
public Path applyTo(Path path) throws Path.Failure
PathOp
applyTo
in interface PathOperator
applyTo
in class PathOp
Path.Failure
public Getter bindFrom(Path pg) throws Path.Failure
PathOp
bindFrom
in interface PathOperator
bindFrom
in class PathOp
pg
- the parent Path for this operator
Path.Failure
public java.lang.String toString()
public java.lang.String functionName()
PathOperator
public java.lang.String[] args()
PathOperator
public java.lang.Object arg(int i)
PathOp
arg
in interface PathOperator
arg
in class PathOp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |