org.apache.xerces.impl
Class XMLEntityManager.ScannedEntity
- XMLEntityManager
public class XMLEntityManager.ScannedEntity
Entity state.
- Andy Clark, IBM
ScannedEntity(String name, org.apache.xerces.xni.XMLResourceIdentifier entityLocation, InputStream stream, Reader reader, String encoding, boolean literal, boolean mayReadChunks, boolean isExternal) - Constructs a scanned entity.
|
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.
stream
public InputStream stream
Input stream.
ScannedEntity
public ScannedEntity(String name,
org.apache.xerces.xni.XMLResourceIdentifier entityLocation,
InputStream stream,
Reader reader,
String encoding,
boolean literal,
boolean mayReadChunks,
boolean isExternal)
Constructs a scanned entity.
getColumnNumber
public int getColumnNumber()
getEncoding
public String getEncoding()
getExpandedSystemId
public String getExpandedSystemId()
getLineNumber
public int getLineNumber()
getLiteralSystemId
public String getLiteralSystemId()
isDeclaredEncoding
public boolean isDeclaredEncoding()
isExternal
public final boolean isExternal()
Returns true if this is an external entity.
- isExternal in interface XMLEntityManager.Entity
isUnparsed
public final boolean isUnparsed()
Returns true if this is an unparsed entity.
- isUnparsed in interface XMLEntityManager.Entity
setDeclaredEncoding
public void setDeclaredEncoding(boolean value)
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-2004 Apache XML Project. All Rights Reserved.