| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final NamespaceContext | |
| private static final Comparator |
| Access | Constructor and Description |
|---|---|
| public | StartElementImpl(final QName name, final Iterator<E> attributes, final Iterator<E> namespaces, final NamespaceContext namespaceContext, final Location location)
|
| Modifier and Type | Method and Description |
|---|---|
| public Attribute | getAttributeByName(final QName
the qname of the desired attribute name)Implements javax. |
| public Iterator | getAttributes()
Implements javax. |
| public NamespaceContext | getNamespaceContext()
Implements javax. |
| public String | getNamespaceURI(final String
the prefix to lookup prefix)Implements javax. |
| public void | writeAsEncodedUnicode(Writer
The writer that will output the data writer)Implements javax. |
| fAttributes | back to summary |
|---|---|
| private final Map<K, V> fAttributes | |
| fNamespaceContext | back to summary |
|---|---|
| private final NamespaceContext fNamespaceContext | |
| QNAME_COMPARATOR | back to summary |
|---|---|
| private static final Comparator<T> QNAME_COMPARATOR | |
| StartElementImpl | back to summary |
|---|---|
| public StartElementImpl(final QName name, final Iterator<E> attributes, final Iterator<E> namespaces, final NamespaceContext namespaceContext, final Location location) | |
| getAttributeByName | back to summary |
|---|---|
| public Attribute getAttributeByName(final QName name) Implements javax. Doc from javax. Returns the attribute referred to by the qname.
| |
| getAttributes | back to summary |
|---|---|
| public Iterator Implements javax. Doc from javax. Returns an Iterator of non-namespace attributes declared on this START_ELEMENT.
Returns an empty iterator if there are no attributes.
The iterator must contain only implementations of the
| |
| getNamespaceContext | back to summary |
|---|---|
| public NamespaceContext getNamespaceContext() Implements javax. Doc from javax. Gets a read-only namespace context. If no context is available this method will return an empty namespace context. The NamespaceContext contains information about all namespaces in scope for this StartElement.
| |
| getNamespaceURI | back to summary |
|---|---|
| public String getNamespaceURI(final String prefix) Implements javax. Doc from javax. Gets the value that the prefix is bound to in the context of this element. Returns null if the prefix is not bound in this context
| |
| 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.
| |