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 class
private static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, String value) getAttribute
(int index) getAttribute
(String name) int
getAttributeName
(int index) getName()
getValue()
boolean
void
pop()
void
push()
void
setHasMoreChildren
(boolean hasMoreChildren) void
void
-
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
-