|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.saxonica.schema.UnionSelection
A union selection is a selection consisting of several alternatives separated by "|"
| Constructor Summary | |
UnionSelection(Selection p1,
Selection p2)
|
|
| Method Summary | |
boolean |
canMatchAttributes()
Determine whether the selection can match attribute nodes |
boolean |
canMatchElementContent()
Determin whether the selection can match element content |
boolean |
matchesAttribute(int fingerprint)
Determine whether a given attribute matches the Selection |
boolean |
matchesElement(int[] stack,
int length,
int contextPosition)
Determine whether the selector matches a given element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnionSelection(Selection p1,
Selection p2)
| Method Detail |
public boolean matchesElement(int[] stack,
int length,
int contextPosition)
matchesElement in interface Selectionstack - the array of name fingerprintslength - the effective length of the array; any items beyond this
position are ignoredcontextPosition - the position in this array of the context element
for the selection.
public boolean matchesAttribute(int fingerprint)
throws ValidationException
matchesAttribute in interface SelectionValidationException - if there is more than one
attribute that matchespublic boolean canMatchAttributes()
canMatchAttributes in interface Selectionpublic boolean canMatchElementContent()
canMatchElementContent in interface Selection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||