Class SimpleXMLParserDocumentImpl.EntityFudger

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    SimpleXMLParserDocumentImpl

    private static class SimpleXMLParserDocumentImpl.EntityFudger
    extends java.io.InputStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) char[] buffer  
      (package private) int buffer_pos  
      (package private) char[] insertion  
      (package private) int insertion_len  
      (package private) int insertion_pos  
      private java.io.InputStream is  
    • Constructor Summary

      Constructors 
      Constructor Description
      EntityFudger​(java.io.InputStream _is)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int available()  
      void close()  
      int read()  
      long skip​(long n)  
      • Methods inherited from class java.io.InputStream

        mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • is

        private java.io.InputStream is
      • buffer

        char[] buffer
      • buffer_pos

        int buffer_pos
      • insertion

        char[] insertion
      • insertion_pos

        int insertion_pos
      • insertion_len

        int insertion_len
    • Constructor Detail

      • EntityFudger

        public EntityFudger​(java.io.InputStream _is)
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.InputStream
        Throws:
        java.io.IOException
      • skip

        public long skip​(long n)
                  throws java.io.IOException
        Overrides:
        skip in class java.io.InputStream
        Throws:
        java.io.IOException
      • available

        public int available()
                      throws java.io.IOException
        Overrides:
        available in class java.io.InputStream
        Throws:
        java.io.IOException