public abstract class WEntityDeclaration extends org.codehaus.stax2.ri.evt.BaseEventImpl implements EntityDeclaration
EntityDecl instance.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 |
|---|
WEntityDeclaration(Location loc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
abstract String |
getBaseURI() |
int |
getEventType() |
abstract String |
getName() |
abstract String |
getNotationName() |
abstract String |
getPublicId() |
abstract String |
getReplacementText() |
abstract String |
getSystemId() |
int |
hashCode() |
void |
writeAsEncodedUnicode(Writer w) |
abstract void |
writeEnc(Writer w) |
void |
writeUsing(org.codehaus.stax2.XMLStreamWriter2 w)
This method does not make much sense for this event type -- the reason
being that the entity declarations can only be written as part of
a DTD (internal or external subset), not separately.
|
addHash, 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 WEntityDeclaration(Location loc)
public abstract String getBaseURI()
getBaseURI in interface EntityDeclarationpublic abstract String getName()
getName in interface EntityDeclarationpublic abstract String getNotationName()
getNotationName in interface EntityDeclarationpublic abstract String getPublicId()
getPublicId in interface EntityDeclarationpublic abstract String getReplacementText()
getReplacementText in interface EntityDeclarationpublic abstract String getSystemId()
getSystemId in interface EntityDeclarationpublic int getEventType()
getEventType in interface XMLEventgetEventType in class org.codehaus.stax2.ri.evt.BaseEventImplpublic abstract void writeEnc(Writer w) throws IOException
IOExceptionpublic void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class org.codehaus.stax2.ri.evt.BaseEventImplXMLStreamExceptionpublic void writeUsing(org.codehaus.stax2.XMLStreamWriter2 w)
throws XMLStreamException
writeUsing in interface org.codehaus.stax2.evt.XMLEvent2writeUsing in class org.codehaus.stax2.ri.evt.BaseEventImplXMLStreamExceptionpublic boolean equals(Object o)
equals in class org.codehaus.stax2.ri.evt.BaseEventImplpublic int hashCode()
hashCode in class org.codehaus.stax2.ri.evt.BaseEventImplCopyright © 2023 FasterXML. All rights reserved.