org.codehaus.stax2.ri.evt
public class NotationDeclarationEventImpl extends BaseEventImpl implements NotationDeclaration2
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, toString
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.NotationDeclaration
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.stream.events.NotationDeclaration
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.stream.events.NotationDeclaration
public java.lang.String getBaseURI()
getBaseURI
in interface NotationDeclaration2
public int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
getEventType
in class BaseEventImpl
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
writeAsEncodedUnicode
in class BaseEventImpl
javax.xml.stream.XMLStreamException
public void writeUsing(XMLStreamWriter2 w) throws javax.xml.stream.XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class BaseEventImpl
javax.xml.stream.XMLStreamException
public boolean equals(java.lang.Object o)
BaseEventImpl
equals
in class BaseEventImpl
public int hashCode()
BaseEventImpl
hashCode
in class BaseEventImpl