|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.w3c.IsaViz.fresnel.FSLExpression
org.w3c.IsaViz.fresnel.FSLPath
FSL Path expression
| Field Summary | |
static short |
ARC_STEP
Location step type: arc |
static short |
NODE_STEP
Location step type: node |
| Fields inherited from class org.w3c.IsaViz.fresnel.FSLExpression |
AND_EXPR, DIFF_EXPR, EQ_EXPR, FC_EXPR, INF_EXPR, INFEQ_EXPR, NUM_EXPR, OR_EXPR, PATH_EXPR, STR_EXPR, SUP_EXPR, SUPEQ_EXPR, type, TYPE_BOOLEAN, TYPE_NODE_ARC_SET, TYPE_NUMBER, TYPE_STRING |
| Constructor Summary | |
FSLPath()
Constructs an empty FSL path |
|
FSLPath(FSLLocationStep[] initialSteps)
Constructs an FSL path made of the location steps given as parameters |
|
| Method Summary | |
void |
appendLocationStep(FSLLocationStep ls)
append a location step to the path (the ordering of node vs. |
static FSLPath |
pathFactory(java.lang.String fslPath,
FSLNSResolver nsr,
short firstStepType)
Instantiates a Java representation of the FSL path given as a String |
void |
removeLastLocationStep()
remove last location step of the path |
java.lang.String |
serialize()
Serialize the path - get a String representation of this FSL path |
static void |
setNSResolver(FSLNSResolver nsr)
Set the namespace prefix binding table |
static java.lang.String[] |
splitQName(java.lang.String qname)
Split a qualified name at the colon (e.g. |
java.lang.String |
toString()
Serialize the path - get a String representation of this FSL path |
| Methods inherited from class org.w3c.IsaViz.fresnel.FSLExpression |
getExpressionType |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static short NODE_STEP
public static short ARC_STEP
| Constructor Detail |
public FSLPath()
public FSLPath(FSLLocationStep[] initialSteps)
| Method Detail |
public static FSLPath pathFactory(java.lang.String fslPath,
FSLNSResolver nsr,
short firstStepType)
fslPath - the FSL path, represented as a Stringnsr - an FSLNSResolver containing namespace prefix binding declarations for all prefixes used in the path expressionfirstStepType - one of FSLPath.NODE_STEP or FSLPath.ARC_STEP, depending on whether the first location step of the path expression should be interpreted as a node or arc location steppublic static void setNSResolver(FSLNSResolver nsr)
public static java.lang.String[] splitQName(java.lang.String qname)
qname - the qualified name to splitpublic void appendLocationStep(FSLLocationStep ls)
public void removeLastLocationStep()
public java.lang.String serialize()
serialize in class FSLExpressionpublic java.lang.String toString()
toString in class FSLExpression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||