javanet.staxutils.events
Class NotationDeclarationEvent
java.lang.Object
javanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.NotationDeclarationEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, ExtendedXMLEvent, javax.xml.stream.events.NotationDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants
public class NotationDeclarationEvent
- extends AbstractXMLEvent
- implements javax.xml.stream.events.NotationDeclaration
NotationDeclaration implementation.
- Version:
- $Revision: 1.2 $
- Author:
- Christian Niles
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.String |
name
The notation name. |
protected java.lang.String |
publicId
The public id of the notation |
protected java.lang.String |
systemId
The system id of the notation |
| 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 |
| Methods inherited from class javanet.staxutils.events.AbstractXMLEvent |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEvent |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, 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, writeAsEncodedUnicode |
name
protected java.lang.String name
- The notation name.
publicId
protected java.lang.String publicId
- The public id of the notation
systemId
protected java.lang.String systemId
- The system id of the notation
NotationDeclarationEvent
public NotationDeclarationEvent(java.lang.String name,
java.lang.String publicId,
javax.xml.stream.Location location)
NotationDeclarationEvent
public NotationDeclarationEvent(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
javax.xml.stream.Location location)
NotationDeclarationEvent
public NotationDeclarationEvent(javax.xml.stream.events.NotationDeclaration that)
getEventType
public int getEventType()
- Returns
XMLStreamConstants.NOTATION_DECLARATION.
- Specified by:
getEventType in interface javax.xml.stream.events.XMLEvent
getName
public java.lang.String getName()
- Specified by:
getName in interface javax.xml.stream.events.NotationDeclaration
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicId in interface javax.xml.stream.events.NotationDeclaration
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId in interface javax.xml.stream.events.NotationDeclaration
Copyright © 2013. All Rights Reserved.