|
|||||||||
| 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.EntityDeclarationEvent
public class EntityDeclarationEvent
Simple implementation of EntityDeclaration. Since no external
or unparsed entities are supported (yet?), this is quite simplistic
implementation.
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected java.lang.String |
replacementText
|
| 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 | |
|---|---|
EntityDeclarationEvent(java.lang.String name,
java.lang.String replText)
|
|
| Method Summary | |
|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes. |
java.lang.String |
getBaseURI()
Get the base URI for this reference or null if this information is not available |
java.lang.String |
getName()
The entity's name |
java.lang.String |
getNotationName()
The name of the associated notation. |
java.lang.String |
getPublicId()
Returns the public ID of the XML |
java.lang.String |
getReplacementText()
The replacement text of the entity. |
java.lang.String |
getSystemId()
Returns the system ID of the XML |
| 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, toString, 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 |
| Field Detail |
|---|
protected final java.lang.String name
protected final java.lang.String replacementText
| Constructor Detail |
|---|
public EntityDeclarationEvent(java.lang.String name,
java.lang.String replText)
| Method Detail |
|---|
public java.lang.String getReplacementText()
javax.xml.stream.events.EntityDeclaration
getReplacementText in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getName()
javax.xml.stream.events.EntityDeclaration
getName in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getBaseURI()
javax.xml.stream.events.EntityDeclaration
getBaseURI in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getPublicId()
javax.xml.stream.Location
getPublicId in interface javax.xml.stream.events.EntityDeclarationgetPublicId in interface javax.xml.stream.LocationgetPublicId in class BaseEventpublic java.lang.String getSystemId()
javax.xml.stream.Location
getSystemId in interface javax.xml.stream.events.EntityDeclarationgetSystemId in interface javax.xml.stream.LocationgetSystemId in class BaseEventpublic java.lang.String getNotationName()
javax.xml.stream.events.EntityDeclaration
getNotationName in interface javax.xml.stream.events.EntityDeclaration
protected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode in class BaseEventjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||