public abstract class ExtEntity extends EntityDecl
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
mPublicId |
(package private) java.lang.String |
mSystemId |
mContext, mDeclaredExternally, mName
Constructor and Description |
---|
ExtEntity(javax.xml.stream.Location loc,
java.lang.String name,
java.net.URL ctxt,
java.lang.String pubId,
java.lang.String sysId) |
Modifier and Type | Method and Description |
---|---|
abstract WstxInputSource |
expand(WstxInputSource parent,
javax.xml.stream.XMLResolver res,
ReaderConfig cfg,
int xmlVersion)
Method called to create the new input source through which expansion
value of the entity can be read.
|
abstract java.lang.String |
getNotationName() |
java.lang.String |
getPublicId() |
char[] |
getReplacementChars() |
java.lang.String |
getReplacementText() |
int |
getReplacementText(java.io.Writer w) |
java.lang.String |
getSystemId() |
boolean |
isExternal() |
abstract boolean |
isParsed() |
abstract void |
writeEnc(java.io.Writer w) |
getBaseURI, getName, getReplacementTextLength, markAsExternallyDeclared, wasDeclaredExternally
equals, getEventType, hashCode, writeAsEncodedUnicode, writeUsing
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
public ExtEntity(javax.xml.stream.Location loc, java.lang.String name, java.net.URL ctxt, java.lang.String pubId, java.lang.String sysId)
public abstract java.lang.String getNotationName()
getNotationName
in interface javax.xml.stream.events.EntityDeclaration
getNotationName
in class EntityDecl
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.stream.events.EntityDeclaration
getPublicId
in class EntityDecl
public java.lang.String getReplacementText()
getReplacementText
in interface javax.xml.stream.events.EntityDeclaration
getReplacementText
in class EntityDecl
public int getReplacementText(java.io.Writer w)
getReplacementText
in class EntityDecl
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.stream.events.EntityDeclaration
getSystemId
in class EntityDecl
public abstract void writeEnc(java.io.Writer w) throws java.io.IOException
writeEnc
in class EntityDecl
java.io.IOException
public char[] getReplacementChars()
getReplacementChars
in class EntityDecl
public boolean isExternal()
isExternal
in class EntityDecl
public abstract boolean isParsed()
isParsed
in class EntityDecl
public abstract WstxInputSource expand(WstxInputSource parent, javax.xml.stream.XMLResolver res, ReaderConfig cfg, int xmlVersion) throws java.io.IOException, javax.xml.stream.XMLStreamException
EntityDecl
expand
in class EntityDecl
java.io.IOException
javax.xml.stream.XMLStreamException