public class

XMLEntityManager.ScannedEntity

extends XMLEntityManager.Entity
java.lang.Object
   ↳ org.apache.xerces.impl.XMLEntityManager.Entity
     ↳ org.apache.xerces.impl.XMLEntityManager.ScannedEntity

Class Overview

Entity state.@xerces.internal

Summary

Fields
public int baseCharOffset Base character offset for computing absolute character offset.
public char[] ch Character buffer.
public int columnNumber Column number.
public int count Count of characters in buffer.
public String encoding Auto-detected encoding.
public XMLResourceIdentifier entityLocation entity location information
public boolean isExternal
public int lineNumber Line number.
public boolean literal True if in a literal.
public boolean mayReadChunks
public int position Position in character buffer.
public Reader reader Reader.
public int startPosition Start position in character buffer.
public InputStream stream Input stream.
public String xmlVersion XML version.
[Expand]
Inherited Fields
From class org.apache.xerces.impl.XMLEntityManager.Entity
Public Constructors
XMLEntityManager.ScannedEntity(String name, XMLResourceIdentifier entityLocation, InputStream stream, Reader reader, byte[] byteBuffer, String encoding, boolean literal, boolean mayReadChunks, boolean isExternal)
Constructs a scanned entity.
Public Methods
int getCharacterOffset()
int getColumnNumber()
String getEncoding()
String getExpandedSystemId()
int getLineNumber()
String getLiteralSystemId()
String getXMLVersion()
boolean isEncodingExternallySpecified()
Returns whether the encoding of this entity was externally specified.
final boolean isExternal()
Returns true if this is an external entity.
final boolean isUnparsed()
Returns true if this is an unparsed entity.
void setEncodingExternallySpecified(boolean value)
Sets whether the encoding of this entity was externally specified.
void setReader(InputStream stream, String encoding, Boolean isBigEndian)
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class org.apache.xerces.impl.XMLEntityManager.Entity
From class java.lang.Object

Fields

public int baseCharOffset

Base character offset for computing absolute character offset.

public char[] ch

Character buffer.

public int columnNumber

Column number.

public int count

Count of characters in buffer.

public String encoding

Auto-detected encoding.

public XMLResourceIdentifier entityLocation

entity location information

public boolean isExternal

public int lineNumber

Line number.

public boolean literal

True if in a literal.

public boolean mayReadChunks

public int position

Position in character buffer.

public Reader reader

Reader.

public int startPosition

Start position in character buffer.

public InputStream stream

Input stream.

public String xmlVersion

XML version.

Public Constructors

public XMLEntityManager.ScannedEntity (String name, XMLResourceIdentifier entityLocation, InputStream stream, Reader reader, byte[] byteBuffer, String encoding, boolean literal, boolean mayReadChunks, boolean isExternal)

Constructs a scanned entity.

Public Methods

public int getCharacterOffset ()

public int getColumnNumber ()

public String getEncoding ()

public String getExpandedSystemId ()

public int getLineNumber ()

public String getLiteralSystemId ()

public String getXMLVersion ()

public boolean isEncodingExternallySpecified ()

Returns whether the encoding of this entity was externally specified.

public final boolean isExternal ()

Returns true if this is an external entity.

public final boolean isUnparsed ()

Returns true if this is an unparsed entity.

public void setEncodingExternallySpecified (boolean value)

Sets whether the encoding of this entity was externally specified.

public void setReader (InputStream stream, String encoding, Boolean isBigEndian)

Throws
IOException

public String toString ()

Returns a string representation of this object.