public class NotationDeclarationImpl extends DummyEvent implements javax.xml.stream.events.NotationDeclaration
fLocation
Constructor and Description |
---|
NotationDeclarationImpl()
Creates a new instance of NotationDeclarationImpl
|
NotationDeclarationImpl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
NotationDeclarationImpl(XMLNotationDecl notation) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
protected void |
writeAsEncodedUnicodeEx(java.io.Writer writer)
Helper method in order to expose IOException.
|
asCharacters, asEndElement, asStartElement, charEncode, getEventType, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public NotationDeclarationImpl()
public NotationDeclarationImpl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
public NotationDeclarationImpl(XMLNotationDecl notation)
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
protected void writeAsEncodedUnicodeEx(java.io.Writer writer) throws java.io.IOException
DummyEvent
writeAsEncodedUnicodeEx
in class DummyEvent
writer
- The writer that will output the datajava.io.IOException
- if there is an IO errorCopyright ? 2002-2003 Apache XML Project. All Rights Reserved.