EntityDecl instance.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract org. Declared abstract to force redefinition by sub-classes |
| public abstract String | getBaseURI()
Redeclares javax. Get the base URI for this reference or null if this information is not available |
| public int | getEventType()
Implements abstract org. Implements javax. Returns an integer code for this event. |
| public abstract String | |
| public abstract String | getNotationName()
Redeclares javax. The name of the associated notation. |
| public abstract String | getPublicId()
Redeclares javax. The entity's public identifier, or null if none was given |
| public abstract String | getReplacementText()
Redeclares javax. The replacement text of the entity. |
| public abstract String | getSystemId()
Redeclares javax. The entity's system identifier. |
| public int | hashCode()
Implements abstract org. Declared abstract to force redefinition by sub-classes |
| public void | writeAsEncodedUnicode(Writer
The writer that will output the data w)Implements abstract org. Implements javax. This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. |
| public abstract void | |
| public void | writeUsing(XMLStreamWriter2 w)
Implements abstract org. Implements org. This method does not make much sense for this event type -- the reason being that the entity declarations can only be written as part of a DTD (internal or external subset), not separately. |
| WEntityDeclaration | back to summary |
|---|---|
| public WEntityDeclaration(Location loc) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract org. Doc from org. Declared abstract to force redefinition by sub-classes
| |
| getBaseURI | back to summary |
|---|---|
| public abstract String getBaseURI() Redeclares javax. Doc from javax. Get the base URI for this reference or null if this information is not available | |
| getEventType | back to summary |
|---|---|
| public int getEventType() Implements abstract org. Implements javax. Doc from javax. Returns an integer code for this event.
| |
| getName | back to summary |
|---|---|
| public abstract String getName() Redeclares javax. Doc from javax. The entity's name | |
| getNotationName | back to summary |
|---|---|
| public abstract String getNotationName() Redeclares javax. Doc from javax. The name of the associated notation. | |
| getPublicId | back to summary |
|---|---|
| public abstract String getPublicId() Redeclares javax. Doc from javax. The entity's public identifier, or null if none was given | |
| getReplacementText | back to summary |
|---|---|
| public abstract String getReplacementText() Redeclares javax. Doc from javax. The replacement text of the entity. This method will only return non-null if this is an internal entity. | |
| getSystemId | back to summary |
|---|---|
| public abstract String getSystemId() Redeclares javax. Doc from javax. The entity's system identifier. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from org. Declared abstract to force redefinition by sub-classes
| |
| writeAsEncodedUnicode | back to summary |
|---|---|
| public void writeAsEncodedUnicode(Writer w) throws XMLStreamException Implements abstract org. Implements javax. Doc from javax. This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. No indentation or whitespace should be outputted. Any user defined event type SHALL have this method called when being written to on an output stream. Built in Event types MUST implement this method, but implementations MAY choose not call these methods for optimizations reasons when writing out built in Events to an output stream. The output generated MUST be equivalent in terms of the infoset expressed.
| |
| writeEnc | back to summary |
|---|---|
| public abstract void writeEnc(Writer w) throws IOException | |
| writeUsing | back to summary |
|---|---|
| public void writeUsing(XMLStreamWriter2 w) throws XMLStreamException Implements abstract org. Implements org. This method does not make much sense for this event type -- the reason being that the entity declarations can only be written as part of a DTD (internal or external subset), not separately. Can basically choose to either skip silently (output nothing), or throw an exception.
| |