public class NotationDeclarationEventImpl extends BaseEventImpl implements NotationDeclaration2
mLocationATTRIBUTE, 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 | 
|---|
NotationDeclarationEventImpl(Location loc,
                            String name,
                            String pubId,
                            String sysId)  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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 String getName()
getName in interface NotationDeclarationpublic String getPublicId()
getPublicId in interface NotationDeclarationpublic String getSystemId()
getSystemId in interface NotationDeclarationpublic String getBaseURI()
getBaseURI in interface NotationDeclaration2public int getEventType()
getEventType in interface XMLEventgetEventType in class BaseEventImplpublic void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class BaseEventImplXMLStreamExceptionpublic void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImplXMLStreamExceptionpublic boolean equals(Object o)
BaseEventImplequals in class BaseEventImplpublic int hashCode()
BaseEventImplhashCode in class BaseEventImplCopyright © 2015 fasterxml.com. All Rights Reserved.