Module java.xml

Class StreamReaderDelegate

  • All Implemented Interfaces:
    XMLStreamConstants, XMLStreamReader

    public class StreamReaderDelegate
    extends Object
    implements XMLStreamReader
    This is the base class for deriving an XMLStreamReader filter This class is designed to sit between an XMLStreamReader and an application's XMLStreamReader. By default each method does nothing but call the corresponding method on the parent interface.
    Since:
    1.6
    See Also:
    XMLStreamReader, EventReaderDelegate
    • Constructor Detail

      • StreamReaderDelegate

        public StreamReaderDelegate()
        Construct an empty filter with no parent.
      • StreamReaderDelegate

        public StreamReaderDelegate​(XMLStreamReader reader)
        Construct an filter with the specified parent.
        Parameters:
        reader - the parent
    • Method Detail

      • setParent

        public void setParent​(XMLStreamReader reader)
        Set the parent of this instance.
        Parameters:
        reader - the new parent
      • getParent

        public XMLStreamReader getParent()
        Get the parent of this instance.
        Returns:
        the parent or null if none is set

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部