Class ReaderDepthState
java.lang.Object
com.thoughtworks.xstream.io.binary.ReaderDepthState
Maintains the state of a pull reader at various states in the document depth.
Used by the
BinaryStreamReader- Since:
- 1.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String name, String value) getAttribute(int index) getAttribute(String name) intgetAttributeName(int index) getName()getValue()booleanvoidpop()voidpush()voidsetHasMoreChildren(boolean hasMoreChildren) voidvoid
-
Field Details
-
EMPTY_STRING
- See Also:
-
current
-
-
Constructor Details
-
ReaderDepthState
ReaderDepthState()
-
-
Method Details
-
push
public void push() -
pop
public void pop() -
getName
-
setName
-
getValue
-
setValue
-
hasMoreChildren
public boolean hasMoreChildren() -
setHasMoreChildren
public void setHasMoreChildren(boolean hasMoreChildren) -
addAttribute
-
getAttribute
-
getAttribute
-
getAttributeName
-
getAttributeCount
public int getAttributeCount() -
getAttributeNames
-