com.caucho.xml.stream.events
Class EntityDeclarationImpl
java.lang.Object
com.caucho.xml.stream.events.XMLEventImpl
com.caucho.xml.stream.events.EntityDeclarationImpl
- All Implemented Interfaces:
- EntityDeclaration, XMLEvent, XMLStreamConstants
public class EntityDeclarationImpl
- extends XMLEventImpl
- implements EntityDeclaration
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 |
EntityDeclarationImpl(java.lang.String baseURI,
java.lang.String name,
java.lang.String notationName,
java.lang.String publicId,
java.lang.String replacementText,
java.lang.String systemId)
|
Methods inherited from class com.caucho.xml.stream.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, 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 |
EntityDeclarationImpl
public EntityDeclarationImpl(java.lang.String baseURI,
java.lang.String name,
java.lang.String notationName,
java.lang.String publicId,
java.lang.String replacementText,
java.lang.String systemId)
getBaseURI
public java.lang.String getBaseURI()
- Specified by:
getBaseURI
in interface EntityDeclaration
getName
public java.lang.String getName()
- Specified by:
getName
in interface EntityDeclaration
getNotationName
public java.lang.String getNotationName()
- Specified by:
getNotationName
in interface EntityDeclaration
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicId
in interface EntityDeclaration
getReplacementText
public java.lang.String getReplacementText()
- Specified by:
getReplacementText
in interface EntityDeclaration
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interface EntityDeclaration
getEventType
public int getEventType()
- Specified by:
getEventType
in interface XMLEvent
- Specified by:
getEventType
in class XMLEventImpl
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Specified by:
writeAsEncodedUnicode
in class XMLEventImpl
- Throws:
XMLStreamException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object