|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is used to programatically validate the contents of an
XML element.Call to both next(javax.xml.namespace.QName)
and peek(javax.xml.namespace.QName)
will return true if the element
with the provided name is allowed at the current position in the element
content, the difference being that next(javax.xml.namespace.QName)
will advance
the current position, while peek(javax.xml.namespace.QName)
won't.
SchemaType.getElementSequencer()
Method Summary | |
boolean |
next(QName elementName)
Returns true if the element with the given name is valid at the current position. |
boolean |
peek(QName elementName)
Return true if the element with the given name is valid at the current position. |
Method Detail |
public boolean next(QName elementName)
public boolean peek(QName elementName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |