|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A selection represents the restricted form of path expression permitted in XML Schema (both the selector and field variants)
| 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 nameCode)
Determine whether a given attribute matches the Selection |
boolean |
matchesElement(int[] stack,
int contextPosition,
int length)
Determine whether the selector matches a given element. |
| Method Detail |
public boolean matchesElement(int[] stack,
int contextPosition,
int length)
stack - the array of name fingerprintscontextPosition - the position in this array of the context element
for the selection.length - the effective length of the array; any items beyond this
position are ignored
public boolean matchesAttribute(int nameCode)
throws ValidationException
ValidationException - if there is more than one
attribute that matchespublic boolean canMatchAttributes()
public boolean canMatchElementContent()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||