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, getLocation, getName, getReplacementTextLength, markAsExternallyDeclared, wasDeclaredExternallyequals, getEventType, hashCode, writeAsEncodedUnicode, writeUsingaddHash, asCharacters, asEndElement, asStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringpublic 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.EntityDeclarationgetNotationName in class EntityDeclpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.stream.events.EntityDeclarationgetPublicId in class EntityDeclpublic java.lang.String getReplacementText()
getReplacementText in interface javax.xml.stream.events.EntityDeclarationgetReplacementText in class EntityDeclpublic int getReplacementText(java.io.Writer w)
getReplacementText in class EntityDeclpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.stream.events.EntityDeclarationgetSystemId in class EntityDeclpublic abstract void writeEnc(java.io.Writer w)
throws java.io.IOException
writeEnc in class EntityDecljava.io.IOExceptionpublic char[] getReplacementChars()
getReplacementChars in class EntityDeclpublic boolean isExternal()
isExternal in class EntityDeclpublic abstract boolean isParsed()
isParsed in class EntityDeclpublic abstract WstxInputSource expand(WstxInputSource parent, javax.xml.stream.XMLResolver res, ReaderConfig cfg, int xmlVersion) throws java.io.IOException, javax.xml.stream.XMLStreamException
EntityDeclexpand in class EntityDecljava.io.IOExceptionjavax.xml.stream.XMLStreamException