EntityDeclaration
, XMLEvent
, XMLStreamConstants
public class ParsedExtEntity extends ExtEntity
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 | Description |
---|---|
ParsedExtEntity(Location loc,
String name,
URL ctxt,
String pubId,
String sysId) |
Modifier and Type | Method | Description |
---|---|---|
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.
|
String |
getNotationName() |
|
boolean |
isParsed() |
|
void |
writeEnc(Writer w) |
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
getBaseURI, getName, getReplacementTextLength, markAsExternallyDeclared, wasDeclaredExternally
getPublicId, getReplacementChars, getReplacementText, getReplacementText, getSystemId, isExternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getEventType, hashCode, writeAsEncodedUnicode, writeUsing
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public String getNotationName()
getNotationName
in interface EntityDeclaration
getNotationName
in class ExtEntity
public void writeEnc(Writer w) throws IOException
writeEnc
in class ExtEntity
IOException
public WstxInputSource expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) throws IOException, XMLStreamException
EntityDecl
expand
in class ExtEntity
IOException
XMLStreamException
Copyright © 2019 FasterXML. All rights reserved.