Package org.cyberneko.html
Class HTMLScanner.CurrentEntity
java.lang.Object
org.cyberneko.html.HTMLScanner.CurrentEntity
- Enclosing class:
- HTMLScanner
Current entity.
- Author:
- Andy Clark
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringBase system identifier.char[]Character buffer.intCharacter offset in the file.final StringExpanded system identifier.intLength of characters read into character buffer.final StringLiteral system identifier.intOffset into character buffer.final StringPublic identifier.final StringXML version. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
publicId
Public identifier. -
baseSystemId
Base system identifier. -
literalSystemId
Literal system identifier. -
expandedSystemId
Expanded system identifier. -
version
XML version.- See Also:
-
characterOffset_
public int characterOffset_Character offset in the file. -
buffer
public char[] bufferCharacter buffer. -
offset
public int offsetOffset into character buffer. -
length
public int lengthLength of characters read into character buffer.
-
-
Constructor Details
-
Method Details
-
load
Loads a new chunk of data into the buffer and returns the number of characters loaded or -1 if no additional characters were loaded.- Parameters:
offset- The offset at which new characters should be loaded.- Throws:
IOException
-
read
Reads a single character.- Throws:
IOException
-
getLineNumber
public int getLineNumber()
-