public class EntityDeclarationImpl extends DummyEvent implements EntityDeclaration
fLocationATTRIBUTE, 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 |
|---|
EntityDeclarationImpl()
Creates a new instance of EntityDeclarationImpl
|
EntityDeclarationImpl(String entityName,
String replacementText) |
EntityDeclarationImpl(String entityName,
String replacementText,
XMLResourceIdentifier resourceIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseURI() |
String |
getEntityName() |
String |
getName() |
String |
getNotationName() |
String |
getPublicId() |
String |
getReplacementText() |
String |
getSystemId() |
XMLResourceIdentifier |
getXMLResourceIdentifier() |
protected void |
init() |
void |
setEntityName(String entityName) |
void |
setEntityReplacementText(String replacementText) |
void |
setNotationName(String notationName) |
void |
setXMLResourceIdentifier(XMLResourceIdentifier resourceIdentifier) |
protected void |
writeAsEncodedUnicodeEx(Writer writer)
Helper method in order to expose IOException.
|
asCharacters, asEndElement, asStartElement, charEncode, getEventType, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic EntityDeclarationImpl()
public EntityDeclarationImpl(String entityName, String replacementText, XMLResourceIdentifier resourceIdentifier)
public void setEntityName(String entityName)
public String getEntityName()
public void setEntityReplacementText(String replacementText)
public void setXMLResourceIdentifier(XMLResourceIdentifier resourceIdentifier)
public XMLResourceIdentifier getXMLResourceIdentifier()
public String getSystemId()
getSystemId in interface EntityDeclarationpublic String getPublicId()
getPublicId in interface EntityDeclarationpublic String getBaseURI()
getBaseURI in interface EntityDeclarationpublic String getName()
getName in interface EntityDeclarationpublic String getNotationName()
getNotationName in interface EntityDeclarationpublic void setNotationName(String notationName)
public String getReplacementText()
getReplacementText in interface EntityDeclarationprotected void init()
protected void writeAsEncodedUnicodeEx(Writer writer) throws IOException
DummyEventwriteAsEncodedUnicodeEx in class DummyEventwriter - The writer that will output the dataIOException - if there is an IO errorCopyright © 2018–2021 mhoffrogge. All rights reserved.