| Modifier and Type | Field and Description |
|---|---|
| private final EntityDeclaration | fDecl
The entity declaration for this entity reference. |
| private final String | fName
The name of the entity. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EntityReferenceImpl(final String name, final EntityDeclaration decl, final Location location)
Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public EntityDeclaration | getDeclaration()
Implements javax. |
| public String | |
| public void | writeAsEncodedUnicode(Writer
The writer that will output the data writer)Implements javax. |
| fDecl | back to summary |
|---|---|
| private final EntityDeclaration fDecl The entity declaration for this entity reference. | |
| fName | back to summary |
|---|---|
| private final String fName The name of the entity. | |
| EntityReferenceImpl | back to summary |
|---|---|
| public EntityReferenceImpl(final EntityDeclaration decl, final Location location) Constructor. | |
| EntityReferenceImpl | back to summary |
|---|---|
| public EntityReferenceImpl(final String name, final EntityDeclaration decl, final Location location) Constructor. | |
| getDeclaration | back to summary |
|---|---|
| public EntityDeclaration getDeclaration() Implements javax. Doc from javax. Return the declaration of this entity.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements javax. Doc from javax. The name of the entity
| |
| writeAsEncodedUnicode | back to summary |
|---|---|
| public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException 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.
| |