org.apache.xerces.stax.events
Class NotationDeclarationImpl

java.lang.Object
  extended by org.apache.xerces.stax.events.XMLEventImpl
      extended by org.apache.xerces.stax.events.NotationDeclarationImpl
All Implemented Interfaces:
NotationDeclaration, XMLEvent, XMLStreamConstants

public final class NotationDeclarationImpl
extends XMLEventImpl
implements NotationDeclaration

Version:
$Id: NotationDeclarationImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
Author:
Lucian Holland

Field Summary
 
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
NotationDeclarationImpl(String name, String publicId, String systemId, Location location)
           
 
Method Summary
 String getName()
           
 String getPublicId()
           
 String getSystemId()
           
 void writeAsEncodedUnicode(Writer writer)
           
 
Methods inherited from class org.apache.xerces.stax.events.XMLEventImpl
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
 

Constructor Detail

NotationDeclarationImpl

public NotationDeclarationImpl(String name,
                               String publicId,
                               String systemId,
                               Location location)
Parameters:
eventType -
location -
schemaType -
Method Detail

getName

public String getName()
Specified by:
getName in interface NotationDeclaration
See Also:
NotationDeclaration.getName()

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface NotationDeclaration
See Also:
NotationDeclaration.getPublicId()

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface NotationDeclaration
See Also:
NotationDeclaration.getSystemId()

writeAsEncodedUnicode

public void writeAsEncodedUnicode(Writer writer)
                           throws XMLStreamException
Specified by:
writeAsEncodedUnicode in interface XMLEvent
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.