org.apache.xerces.impl
Class XMLEntityManager.ScannedEntity
- XMLEntityManager
public class XMLEntityManager.ScannedEntity
Entity state.
ScannedEntity(String name, org.apache.xerces.xni.XMLResourceIdentifier entityLocation, InputStream stream, Reader reader, byte[] byteBuffer, String encoding, boolean literal, boolean mayReadChunks, boolean isExternal) - Constructs a scanned entity.
|
baseCharOffset
public int baseCharOffset
Base character offset for computing absolute character offset.
ch
public char[] ch
Character buffer.
columnNumber
public int columnNumber
Column number.
count
public int count
Count of characters in buffer.
encoding
public String encoding
Auto-detected encoding.
entityLocation
public org.apache.xerces.xni.XMLResourceIdentifier entityLocation
entity location information
isExternal
public boolean isExternal
lineNumber
public int lineNumber
Line number.
literal
public boolean literal
True if in a literal.
mayReadChunks
public boolean mayReadChunks
position
public int position
Position in character buffer.
reader
public Reader reader
Reader.
startPosition
public int startPosition
Start position in character buffer.
stream
public InputStream stream
Input stream.
xmlVersion
public String xmlVersion
XML version. *
ScannedEntity
public ScannedEntity(String name,
org.apache.xerces.xni.XMLResourceIdentifier entityLocation,
InputStream stream,
Reader reader,
byte[] byteBuffer,
String encoding,
boolean literal,
boolean mayReadChunks,
boolean isExternal)
Constructs a scanned entity.
getCharacterOffset
public int getCharacterOffset()
getColumnNumber
public int getColumnNumber()
getEncoding
public String getEncoding()
getExpandedSystemId
public String getExpandedSystemId()
getLineNumber
public int getLineNumber()
getLiteralSystemId
public String getLiteralSystemId()
getXMLVersion
public String getXMLVersion()
isEncodingExternallySpecified
public boolean isEncodingExternallySpecified()
Returns whether the encoding of this entity was externally specified. *
setEncodingExternallySpecified
public void setEncodingExternallySpecified(boolean value)
Sets whether the encoding of this entity was externally specified. *
setReader
public void setReader(InputStream stream,
String encoding,
Boolean isBigEndian)
throws IOException
toString
public String toString()
Returns a string representation of this object.
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.