パッケージ org.codelibs.nekohtml

クラス HTMLScanner.CurrentEntity

  • 含まれているクラス:
    HTMLScanner

    public static class HTMLScanner.CurrentEntity
    extends java.lang.Object
    Current entity.
    作成者:
    Andy Clark
    • フィールドの概要

      フィールド 
      修飾子とタイプ フィールド 説明
      java.lang.String baseSystemId
      Base system identifier.
      char[] buffer
      Character buffer.
      int characterOffset_
      Character offset in the file.
      java.lang.String expandedSystemId
      Expanded system identifier.
      int length
      Length of characters read into character buffer.
      java.lang.String literalSystemId
      Literal system identifier.
      int offset
      Offset into character buffer.
      java.lang.String publicId
      Public identifier.
      java.lang.String version
      XML version.
    • コンストラクタの概要

      コンストラクタ 
      コンストラクタ 説明
      CurrentEntity​(java.io.Reader stream, java.lang.String encoding, java.lang.String publicId, java.lang.String baseSystemId, java.lang.String literalSystemId, java.lang.String expandedSystemId)
      Constructs an entity from the specified stream.
    • メソッドの概要

      すべてのメソッド インスタンス・メソッド concreteメソッド 
      修飾子とタイプ メソッド 説明
      int getLineNumber()  
      protected int load​(int offset)
      Loads a new chunk of data into the buffer and returns the number of characters loaded or -1 if no additional characters were loaded.
      protected int read()
      Reads a single character.
      • クラスから継承されたメソッド java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • フィールドの詳細

      • publicId

        public java.lang.String publicId
        Public identifier.
      • baseSystemId

        public java.lang.String baseSystemId
        Base system identifier.
      • literalSystemId

        public java.lang.String literalSystemId
        Literal system identifier.
      • expandedSystemId

        public java.lang.String expandedSystemId
        Expanded system identifier.
      • version

        public java.lang.String version
        XML version.
      • characterOffset_

        public int characterOffset_
        Character offset in the file.
      • buffer

        public char[] buffer
        Character buffer.
      • offset

        public int offset
        Offset into character buffer.
      • length

        public int length
        Length of characters read into character buffer.
    • コンストラクタの詳細

      • CurrentEntity

        public CurrentEntity​(java.io.Reader stream,
                             java.lang.String encoding,
                             java.lang.String publicId,
                             java.lang.String baseSystemId,
                             java.lang.String literalSystemId,
                             java.lang.String expandedSystemId)
        Constructs an entity from the specified stream.
    • メソッドの詳細

      • load

        protected int load​(int offset)
                    throws java.io.IOException
        Loads a new chunk of data into the buffer and returns the number of characters loaded or -1 if no additional characters were loaded.
        パラメータ:
        offset - The offset at which new characters should be loaded.
        例外:
        java.io.IOException
      • read

        protected int read()
                    throws java.io.IOException
        Reads a single character.
        例外:
        java.io.IOException
      • getLineNumber

        public int getLineNumber()