| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final boolean | |
| private final QName | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | AttributeImpl(final QName name, final String value, final String dtdType, final boolean isSpecified, final Location location)
Constructor. |
| protected | AttributeImpl(final int type, final QName name, final String value, final String dtdType, final boolean isSpecified, final Location location)
|
| Modifier and Type | Method and Description |
|---|---|
| public final String | getDTDType()
Implements javax. |
| public final QName | getName()
Implements javax. |
| public final String | getValue()
Implements javax. |
| public final boolean | isSpecified()
Implements javax. |
| public final void | writeAsEncodedUnicode(Writer
The writer that will output the data writer)Implements javax. |
| fDtdType | back to summary |
|---|---|
| private final String fDtdType | |
| fIsSpecified | back to summary |
|---|---|
| private final boolean fIsSpecified | |
| fName | back to summary |
|---|---|
| private final QName fName | |
| fValue | back to summary |
|---|---|
| private final String fValue | |
| AttributeImpl | back to summary |
|---|---|
| public AttributeImpl(final QName name, final String value, final String dtdType, final boolean isSpecified, final Location location) Constructor. | |
| AttributeImpl | back to summary |
|---|---|
| protected AttributeImpl(final int type, final QName name, final String value, final String dtdType, final boolean isSpecified, final Location location) | |
| getDTDType | back to summary |
|---|---|
| public final String getDTDType() Implements javax. Doc from javax. Gets the type of this attribute, default is the String "CDATA".
| |
| getName | back to summary |
|---|---|
| public final QName getName() Implements javax. Doc from javax. Returns the QName for this attribute.
| |
| getValue | back to summary |
|---|---|
| public final String getValue() Implements javax. Doc from javax. Gets the normalized value of this attribute.
| |
| isSpecified | back to summary |
|---|---|
| public final boolean isSpecified() Implements javax. Doc from javax. A flag indicating whether this attribute was actually specified in the start-tag of its element, or was defaulted from the schema.
| |
| writeAsEncodedUnicode | back to summary |
|---|---|
| public final 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.
| |