public abstract class ExtEntity extends EntityDecl
mDeclaredExternally
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
ExtEntity(Location loc,
String name,
URL ctxt,
String pubId,
String sysId) |
Modifier and Type | Method and Description |
---|---|
abstract WstxInputSource |
expand(WstxInputSource parent,
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 String |
getNotationName() |
String |
getPublicId() |
char[] |
getReplacementChars() |
String |
getReplacementText() |
int |
getReplacementText(Writer w) |
String |
getSystemId() |
boolean |
isExternal() |
abstract boolean |
isParsed() |
abstract void |
writeEnc(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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public abstract String getNotationName()
getNotationName
in interface EntityDeclaration
getNotationName
in class EntityDecl
public String getPublicId()
getPublicId
in interface EntityDeclaration
getPublicId
in class EntityDecl
public String getReplacementText()
getReplacementText
in interface EntityDeclaration
getReplacementText
in class EntityDecl
public int getReplacementText(Writer w)
getReplacementText
in class EntityDecl
public String getSystemId()
getSystemId
in interface EntityDeclaration
getSystemId
in class EntityDecl
public abstract void writeEnc(Writer w) throws IOException
writeEnc
in class EntityDecl
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, XMLResolver res, ReaderConfig cfg, int xmlVersion) throws IOException, XMLStreamException
EntityDecl
expand
in class EntityDecl
IOException
XMLStreamException
Copyright © 2018 FasterXML. All rights reserved.