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:
javax.xml.stream.events.EntityReference, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants

public final class EntityReferenceImpl
extends XMLEventImpl
implements javax.xml.stream.events.EntityReference

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

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
 
Constructor Summary
EntityReferenceImpl(javax.xml.stream.events.EntityDeclaration decl, javax.xml.stream.Location location)
          Constructor.
EntityReferenceImpl(java.lang.String name, javax.xml.stream.events.EntityDeclaration decl, javax.xml.stream.Location location)
          Constructor.
 
Method Summary
 javax.xml.stream.events.EntityDeclaration getDeclaration()
           
 java.lang.String getName()
           
 void writeAsEncodedUnicode(java.io.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

EntityReferenceImpl

public EntityReferenceImpl(javax.xml.stream.events.EntityDeclaration decl,
                           javax.xml.stream.Location location)
Constructor.
Parameters:
decl -  
location -  

EntityReferenceImpl

public EntityReferenceImpl(java.lang.String name,
                           javax.xml.stream.events.EntityDeclaration decl,
                           javax.xml.stream.Location location)
Constructor.
Parameters:
name -  
decl -  
location -  
Method Detail

getDeclaration

public javax.xml.stream.events.EntityDeclaration getDeclaration()
Specified by:
getDeclaration in interface javax.xml.stream.events.EntityReference
See Also:
EntityReference.getDeclaration()

getName

public java.lang.String getName()
Specified by:
getName in interface javax.xml.stream.events.EntityReference
See Also:
EntityReference.getName()

writeAsEncodedUnicode

public void writeAsEncodedUnicode(java.io.Writer writer)
                           throws javax.xml.stream.XMLStreamException
Specified by:
writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEvent


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.