org.apache.xerces.stax.events
Class EntityReferenceImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.EntityReferenceImpl
- All Implemented Interfaces:
- EntityReference, XMLEvent, XMLStreamConstants
public final class EntityReferenceImpl
- extends XMLEventImpl
- implements EntityReference
- Version:
- $Id: EntityReferenceImpl.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 |
EntityReferenceImpl
public EntityReferenceImpl(EntityDeclaration decl,
Location location)
- Constructor.
- Parameters:
decl
- location
-
EntityReferenceImpl
public EntityReferenceImpl(String name,
EntityDeclaration decl,
Location location)
- Constructor.
- Parameters:
name
- decl
- location
-
getDeclaration
public EntityDeclaration getDeclaration()
- Specified by:
getDeclaration
in interface EntityReference
- See Also:
EntityReference.getDeclaration()
getName
public String getName()
- Specified by:
getName
in interface EntityReference
- See Also:
EntityReference.getName()
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.