com.ctc.wstx.ent
Class NotationDecl
java.lang.Object
com.ctc.wstx.evt.WEvent
com.ctc.wstx.evt.WNotationDeclaration
com.ctc.wstx.ent.NotationDecl
- All Implemented Interfaces:
- javax.xml.stream.events.NotationDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants, XMLEvent2
public class NotationDecl
- extends WNotationDeclaration
Object that represents notation declarations DTD reader
has parsed from DTD subsets.
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 |
NotationDecl(javax.xml.stream.Location loc,
java.lang.String name,
java.lang.String pubId,
java.lang.String sysId)
|
Methods inherited from class com.ctc.wstx.evt.WEvent |
asCharacters, asEndElement, asStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, throwFromIOE, 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, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
NotationDecl
public NotationDecl(javax.xml.stream.Location loc,
java.lang.String name,
java.lang.String pubId,
java.lang.String sysId)
getLocation
public javax.xml.stream.Location getLocation()
- Specified by:
getLocation
in interface javax.xml.stream.events.XMLEvent
- Overrides:
getLocation
in class WEvent
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.xml.stream.events.NotationDeclaration
- Specified by:
getName
in class WNotationDeclaration
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicId
in interface javax.xml.stream.events.NotationDeclaration
- Specified by:
getPublicId
in class WNotationDeclaration
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interface javax.xml.stream.events.NotationDeclaration
- Specified by:
getSystemId
in class WNotationDeclaration
writeEnc
public void writeEnc(java.io.Writer w)
throws java.io.IOException
- Specified by:
writeEnc
in class WNotationDeclaration
- Throws:
java.io.IOException