public class NotationDeclarationEventImpl extends BaseEventImpl implements NotationDeclaration2
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
mName
Name/id of the notation, used to reference declaration.
|
(package private) java.lang.String |
mPublicId |
(package private) java.lang.String |
mSystemId |
mLocation| Constructor and Description |
|---|
NotationDeclarationEventImpl(javax.xml.stream.Location loc,
java.lang.String name,
java.lang.String pubId,
java.lang.String sysId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Declared abstract to force redefinition by sub-classes
|
java.lang.String |
getBaseURI()
Empty base implementation: sub-classes should implement
|
int |
getEventType() |
java.lang.String |
getName() |
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
int |
hashCode()
Declared abstract to force redefinition by sub-classes
|
void |
writeAsEncodedUnicode(java.io.Writer w) |
void |
writeUsing(XMLStreamWriter2 w)
This method does not make much sense for this event type -- the reason
being that the notation 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, toStringfinal java.lang.String mName
final java.lang.String mPublicId
final java.lang.String mSystemId
public NotationDeclarationEventImpl(javax.xml.stream.Location loc,
java.lang.String name,
java.lang.String pubId,
java.lang.String sysId)
public java.lang.String getName()
getName in interface javax.xml.stream.events.NotationDeclarationpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.stream.events.NotationDeclarationpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.stream.events.NotationDeclarationpublic java.lang.String getBaseURI()
getBaseURI in interface NotationDeclaration2public int getEventType()
getEventType in interface javax.xml.stream.events.XMLEventgetEventType in class BaseEventImplpublic void writeAsEncodedUnicode(java.io.Writer w)
throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEventwriteAsEncodedUnicode in class BaseEventImpljavax.xml.stream.XMLStreamExceptionpublic void writeUsing(XMLStreamWriter2 w) throws javax.xml.stream.XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImpljavax.xml.stream.XMLStreamExceptionpublic boolean equals(java.lang.Object o)
BaseEventImplequals in class BaseEventImplpublic int hashCode()
BaseEventImplhashCode in class BaseEventImpl