|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nodal.nav.PathOp
org.nodal.nav.SchemeOp
A document PathOp that encapsulates the absolute components of a URI.
| 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 |
| Constructor Summary | |
SchemeOp(java.lang.String scheme)
Creator for a PathOperator representing a URL scheme |
|
| Method Summary | |
Path |
applyTo(Path p)
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 |
isAbsolute()
In general, a PathOp is relative. |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SchemeOp(java.lang.String scheme)
PathOperator representing a URL scheme
scheme - the URL scheme| Method Detail |
public boolean isDocumentOp()
PathOperatorAll 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 PathOperatorisDocumentOp in class PathOppublic boolean isFragmentOp()
PathOperatorAll 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 PathOperatorisFragmentOp in class PathOppublic boolean isAbsolute()
PathOp
isAbsolute in interface PathOperatorisAbsolute in class PathOp
public Path applyTo(Path p)
throws Path.Failure
PathOp
applyTo in interface PathOperatorapplyTo in class PathOpPath.Failure
public Getter bindFrom(Path pg)
throws Path.Failure
PathOp
bindFrom in interface PathOperatorbindFrom in class PathOppg - the parent Path for this operator
Path.Failurepublic 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 PathOperatorarg in class PathOp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||