Class CustomStaxReader

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.ErrorReporter, com.thoughtworks.xstream.io.ExtendedHierarchicalStreamReader, com.thoughtworks.xstream.io.HierarchicalStreamReader

    public class CustomStaxReader
    extends com.thoughtworks.xstream.io.xml.StaxReader
    • Constructor Detail

      • CustomStaxReader

        public CustomStaxReader​(com.thoughtworks.xstream.io.xml.QNameMap qnameMap,
                                XMLStreamReader in)
    • Method Detail

      • getLocation

        public Location getLocation()
      • getAttribute

        public String getAttribute​(String name)
        Specified by:
        getAttribute in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
        Overrides:
        getAttribute in class com.thoughtworks.xstream.io.xml.StaxReader
      • getAdditionalAttributes

        public Map<QName,​String> getAdditionalAttributes()
      • moveDown

        public void moveDown()
        Specified by:
        moveDown in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
        Overrides:
        moveDown in class com.thoughtworks.xstream.io.xml.AbstractPullReader
      • pullNextEvent

        protected int pullNextEvent()
        Overrides:
        pullNextEvent in class com.thoughtworks.xstream.io.xml.StaxReader