public class XMLEntityManager.ScannedEntity extends XMLEntityManager.Entity
Modifier and Type | Field and Description |
---|---|
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.
|
org.apache.xerces.xni.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.
|
inExternalSubset, name
Constructor and Description |
---|
XMLEntityManager.ScannedEntity(java.lang.String name,
org.apache.xerces.xni.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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clear, isEntityDeclInExternalSubset, setValues
public java.io.InputStream stream
public java.io.Reader reader
public org.apache.xerces.xni.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
public XMLEntityManager.ScannedEntity(java.lang.String name, org.apache.xerces.xni.XMLResourceIdentifier entityLocation, java.io.InputStream stream, java.io.Reader reader, byte[] byteBuffer, java.lang.String encoding, boolean literal, boolean mayReadChunks, boolean isExternal)
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
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.