Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
org.apache.xmlbeans
public interface: SchemaTypeElementSequencer [javadoc | source]

All Known Implementing Classes:
    SequencerImpl

This class is used to programatically validate the contents of an XML element.Call to both #next and #peek 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 will advance the current position, while #peek won't.
Method from org.apache.xmlbeans.SchemaTypeElementSequencer Summary:
next,   peek
Method from org.apache.xmlbeans.SchemaTypeElementSequencer Detail:
 public boolean next(QName elementName)
    Returns true if the element with the given name is valid at the current position. Advances the current position.
 public boolean peek(QName elementName)
    Return true if the element with the given name is valid at the current position. Does not advance the current position.