Class ReaderDepthState

java.lang.Object
com.thoughtworks.xstream.io.binary.ReaderDepthState

class ReaderDepthState extends Object
Maintains the state of a pull reader at various states in the document depth. Used by the BinaryStreamReader
Since:
1.2
  • Field Details

  • Constructor Details

    • ReaderDepthState

      ReaderDepthState()
  • Method Details

    • push

      public void push()
    • pop

      public void pop()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • hasMoreChildren

      public boolean hasMoreChildren()
    • setHasMoreChildren

      public void setHasMoreChildren(boolean hasMoreChildren)
    • addAttribute

      public void addAttribute(String name, String value)
    • getAttribute

      public String getAttribute(String name)
    • getAttribute

      public String getAttribute(int index)
    • getAttributeName

      public String getAttributeName(int index)
    • getAttributeCount

      public int getAttributeCount()
    • getAttributeNames

      public Iterator getAttributeNames()