public interface SchemaTypeElementSequencer
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()
Modifier and Type | Method and Description |
---|---|
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.
|
boolean next(QName elementName)
boolean peek(QName elementName)