|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.xml.stream.events.BaseEvent
com.bea.xml.stream.events.EntityReferenceEvent
public class EntityReferenceEvent
| Field Summary |
|---|
| 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 | |
|---|---|
EntityReferenceEvent()
|
|
EntityReferenceEvent(java.lang.String name,
javax.xml.stream.events.EntityDeclaration ed)
|
|
| Method Summary | |
|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes. |
java.lang.String |
getBaseURI()
|
javax.xml.stream.events.EntityDeclaration |
getDeclaration()
Return the declaration of this entity. |
java.lang.String |
getName()
The name of the entity |
java.lang.String |
getPublicId()
Returns the public ID of the XML |
java.lang.String |
getReplacementText()
|
java.lang.String |
getSystemId()
Returns the system ID of the XML |
protected void |
init()
|
void |
setName(java.lang.String name)
|
void |
setReplacementText(java.lang.String text)
|
java.lang.String |
toString()
toString() overridden to output more information than what the default implementation from base event class outputs. |
| Methods inherited from class com.bea.xml.stream.events.BaseEvent |
|---|
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getSchemaType, getSourceName, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, writeAsEncodedUnicode |
| 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, writeAsEncodedUnicode |
| Constructor Detail |
|---|
public EntityReferenceEvent()
public EntityReferenceEvent(java.lang.String name,
javax.xml.stream.events.EntityDeclaration ed)
| Method Detail |
|---|
public java.lang.String getReplacementText()
public java.lang.String getName()
javax.xml.stream.events.EntityReference
getName in interface javax.xml.stream.events.EntityReferencepublic void setName(java.lang.String name)
public void setReplacementText(java.lang.String text)
public java.lang.String getBaseURI()
public java.lang.String getPublicId()
javax.xml.stream.Location
getPublicId in interface javax.xml.stream.LocationgetPublicId in class BaseEventpublic java.lang.String getSystemId()
javax.xml.stream.Location
getSystemId in interface javax.xml.stream.LocationgetSystemId in class BaseEventpublic javax.xml.stream.events.EntityDeclaration getDeclaration()
javax.xml.stream.events.EntityReference
getDeclaration in interface javax.xml.stream.events.EntityReferenceprotected void init()
protected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode in class BaseEventjava.io.IOExceptionpublic java.lang.String toString()
toString in class BaseEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||