|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.XMLEntityManager.Entity org.apache.xerces.impl.XMLEntityManager.ScannedEntity
public class XMLEntityManager.ScannedEntity
Entity state.
Field Summary | |
---|---|
int |
baseCharOffset
Base character offset for computing absolute character offset. |
char[] |
ch
Character buffer. |
int |
columnNumber
Column number. |
int |
count
Count of characters in buffer. |
java.lang.String |
encoding
Auto-detected encoding. |
XMLResourceIdentifier |
entityLocation
entity location information |
boolean |
isExternal
|
int |
lineNumber
Line number. |
boolean |
literal
True if in a literal. |
boolean |
mayReadChunks
|
int |
position
Position in character buffer. |
java.io.Reader |
reader
Reader. |
int |
startPosition
Start position in character buffer. |
java.io.InputStream |
stream
Input stream. |
java.lang.String |
xmlVersion
XML version. |
Fields inherited from class org.apache.xerces.impl.XMLEntityManager.Entity |
---|
inExternalSubset, name |
Constructor Summary | |
---|---|
XMLEntityManager.ScannedEntity(java.lang.String name,
XMLResourceIdentifier entityLocation,
java.io.InputStream stream,
java.io.Reader reader,
byte[] byteBuffer,
java.lang.String encoding,
boolean literal,
boolean mayReadChunks,
boolean isExternal)
Constructs a scanned entity. |
Method Summary | |
---|---|
int |
getCharacterOffset()
|
int |
getColumnNumber()
|
java.lang.String |
getEncoding()
|
java.lang.String |
getExpandedSystemId()
|
int |
getLineNumber()
|
java.lang.String |
getLiteralSystemId()
|
java.lang.String |
getXMLVersion()
|
boolean |
isEncodingExternallySpecified()
Returns whether the encoding of this entity was externally specified. |
boolean |
isExternal()
Returns true if this is an external entity. |
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(java.io.InputStream stream,
java.lang.String encoding,
java.lang.Boolean isBigEndian)
|
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class org.apache.xerces.impl.XMLEntityManager.Entity |
---|
clear, isEntityDeclInExternalSubset, setValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.io.InputStream stream
public java.io.Reader reader
public XMLResourceIdentifier entityLocation
public int lineNumber
public int columnNumber
public java.lang.String encoding
public java.lang.String xmlVersion
public boolean literal
public boolean isExternal
public char[] ch
public int position
public int baseCharOffset
public int startPosition
public int count
public boolean mayReadChunks
Constructor Detail |
---|
public XMLEntityManager.ScannedEntity(java.lang.String name, XMLResourceIdentifier entityLocation, java.io.InputStream stream, java.io.Reader reader, byte[] byteBuffer, java.lang.String encoding, boolean literal, boolean mayReadChunks, boolean isExternal)
Method Detail |
---|
public final boolean isExternal()
isExternal
in class XMLEntityManager.Entity
public final boolean isUnparsed()
isUnparsed
in class XMLEntityManager.Entity
public void setReader(java.io.InputStream stream, java.lang.String encoding, java.lang.Boolean isBigEndian) throws java.io.IOException
java.io.IOException
public java.lang.String getExpandedSystemId()
public java.lang.String getLiteralSystemId()
public int getLineNumber()
public int getColumnNumber()
public int getCharacterOffset()
public java.lang.String getEncoding()
public java.lang.String getXMLVersion()
public boolean isEncodingExternallySpecified()
public void setEncodingExternallySpecified(boolean value)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |