org.apache.xerces.stax.events
Class EntityDeclarationImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.EntityDeclarationImpl
- All Implemented Interfaces:
- EntityDeclaration, XMLEvent, XMLStreamConstants
public final class EntityDeclarationImpl
- extends XMLEventImpl
- implements EntityDeclaration
- Version:
- $Id: EntityDeclarationImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
- Author:
- Lucian Holland
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 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 interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
EntityDeclarationImpl
public EntityDeclarationImpl(String publicId,
String systemId,
String name,
String notationName,
Location location)
- Parameters:
eventType
- location
- schemaType
-
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interface EntityDeclaration
- See Also:
EntityDeclaration.getPublicId()
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interface EntityDeclaration
- See Also:
EntityDeclaration.getSystemId()
getName
public String getName()
- Specified by:
getName
in interface EntityDeclaration
- See Also:
EntityDeclaration.getName()
getNotationName
public String getNotationName()
- Specified by:
getNotationName
in interface EntityDeclaration
- See Also:
EntityDeclaration.getNotationName()
getReplacementText
public String getReplacementText()
- Specified by:
getReplacementText
in interface EntityDeclaration
- See Also:
EntityDeclaration.getReplacementText()
getBaseURI
public String getBaseURI()
- Specified by:
getBaseURI
in interface EntityDeclaration
- See Also:
EntityDeclaration.getBaseURI()
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.