Package org.simpleframework.xml.stream
Class PullReader.End
java.lang.Object
org.simpleframework.xml.stream.EventToken
org.simpleframework.xml.stream.PullReader.End
- Enclosing class:
PullReader
The
End
object is used to represent the end of an
element. It is used by the core reader to determine which nodes
are in context and which ones are out of context. This allows
the input nodes to determine if it can read any more children.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEnd()
This is true as this event represents an element end.Methods inherited from class org.simpleframework.xml.stream.EventToken
getLine, getName, getPrefix, getReference, getSource, getValue, isStart, isText, iterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
End
private End()
-
-
Method Details
-
isEnd
public boolean isEnd()This is true as this event represents an element end. Such events are required by the core reader to determine if a node is still in context. This helps to determine if there are any more children to be read from a specific node.- Specified by:
isEnd
in interfaceEventNode
- Overrides:
isEnd
in classEventToken
- Returns:
- this returns true as this token represents an end
-