StartElement implementation used when event is constructed
from already objectified data, for example when constructed by the event
factory.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Map |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static SimpleStartElement | |
| public static SimpleStartElement | |
| public Attribute | getAttributeByName(QName
the qname of the desired attribute name)Implements abstract com. Implements javax. Returns the attribute referred to by the qname. |
| public Iterator | getAttributes()
Implements abstract com. Implements javax. Returns an Iterator of non-namespace attributes declared on this START_ELEMENT. |
| protected void | |
| protected void | outputNsAndAttr(XMLStreamWriter w)
Implements abstract com.
|
| mAttrs | back to summary |
|---|---|
| pack-priv final Map<QName, Attribute> mAttrs | |
| SimpleStartElement | back to summary |
|---|---|
| protected SimpleStartElement(Location loc, QName name, BaseNsContext nsCtxt, Map<QName, Attribute> attr) | |
| construct | back to summary |
|---|---|
| public static SimpleStartElement construct(Location loc, QName name, Map<QName, Attribute> attrs, List<Namespace> ns, NamespaceContext nsCtxt) Factory method called when a start element needs to be constructed from an external source (most likely, non-woodstox stream reader). | |
| construct | back to summary |
|---|---|
| public static SimpleStartElement construct(Location loc, QName name, Iterator<Attribute> attrs, Iterator<Namespace> ns, NamespaceContext nsCtxt) | |
| getAttributeByName | back to summary |
|---|---|
| public Attribute getAttributeByName(QName name) Implements abstract com. Implements javax. Doc from javax. Returns the attribute referred to by the qname. | |
| getAttributes | back to summary |
|---|---|
| public Iterator Implements abstract com. 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
| |
| outputNsAndAttr | back to summary |
|---|---|
| protected void outputNsAndAttr(Writer w) throws IOException Implements abstract com.
| |
| outputNsAndAttr | back to summary |
|---|---|
| protected void outputNsAndAttr(XMLStreamWriter w) throws XMLStreamException Implements abstract com.
| |