|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.NotationDeclarationEventImpl
public class NotationDeclarationEventImpl
| Field Summary |
|---|
| Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl |
|---|
mLocation |
| Fields inherited from interface javax.xml.stream.XMLStreamConstants |
|---|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
| Constructor Summary | |
|---|---|
NotationDeclarationEventImpl(javax.xml.stream.Location loc,
String name,
String pubId,
String sysId)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Declared abstract to force redefinition by sub-classes |
String |
getBaseURI()
Empty base implementation: sub-classes should implement |
int |
getEventType()
|
String |
getName()
|
String |
getPublicId()
|
String |
getSystemId()
|
int |
hashCode()
Declared abstract to force redefinition by sub-classes |
void |
writeAsEncodedUnicode(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. |
| Methods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl |
|---|
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.stream.events.XMLEvent |
|---|
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
| Constructor Detail |
|---|
public NotationDeclarationEventImpl(javax.xml.stream.Location loc,
String name,
String pubId,
String sysId)
| Method Detail |
|---|
public String getName()
getName in interface javax.xml.stream.events.NotationDeclarationpublic String getPublicId()
getPublicId in interface javax.xml.stream.events.NotationDeclarationpublic String getSystemId()
getSystemId in interface javax.xml.stream.events.NotationDeclarationpublic String getBaseURI()
getBaseURI in interface NotationDeclaration2public int getEventType()
getEventType in interface javax.xml.stream.events.XMLEventgetEventType in class BaseEventImpl
public void writeAsEncodedUnicode(Writer w)
throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEventwriteAsEncodedUnicode in class BaseEventImpljavax.xml.stream.XMLStreamException
public void writeUsing(XMLStreamWriter2 w)
throws javax.xml.stream.XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImpljavax.xml.stream.XMLStreamExceptionpublic boolean equals(Object o)
BaseEventImpl
equals in class BaseEventImplpublic int hashCode()
BaseEventImpl
hashCode in class BaseEventImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||