public abstract class ExtEntity extends EntityDecl
mDeclaredExternallyATTRIBUTE, 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, wasDeclaredExternallyequals, getEventType, hashCode, writeAsEncodedUnicode, writeUsingaddHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementpublic abstract String getNotationName()
getNotationName in interface EntityDeclarationgetNotationName in class EntityDeclpublic String getPublicId()
getPublicId in interface EntityDeclarationgetPublicId in class EntityDeclpublic String getReplacementText()
getReplacementText in interface EntityDeclarationgetReplacementText in class EntityDeclpublic int getReplacementText(Writer w)
getReplacementText in class EntityDeclpublic String getSystemId()
getSystemId in interface EntityDeclarationgetSystemId in class EntityDeclpublic abstract void writeEnc(Writer w) throws IOException
writeEnc in class EntityDeclIOExceptionpublic char[] getReplacementChars()
getReplacementChars in class EntityDeclpublic boolean isExternal()
isExternal in class EntityDeclpublic abstract boolean isParsed()
isParsed in class EntityDeclpublic abstract WstxInputSource expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) throws IOException, XMLStreamException
EntityDeclexpand in class EntityDeclIOExceptionXMLStreamExceptionCopyright © 2018 FasterXML. All rights reserved.