| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private NamespaceContext | |
| private List | |
| private QName |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public final void | |
| public void | |
| public final void | |
| public Attribute | Returns: the attribute corresponding to the name value or nullthe qname of the desired name qname)Implements javax. Returns the attribute referred to by this name |
| public Iterator | Returns: a readonly Iterator over Attribute interfaces, or an empty iteratorImplements javax. Returns an Iterator of non-namespace declared attributes returns an empty iterator if there are no attributes. |
| public QName | Returns: the qualified name of this eventImplements javax. Get the name of this event |
| public String | |
| public NamespaceContext | Returns: the current namespace contextImplements javax. Gets a read-only namespace context. |
| public Iterator | Returns: a readonly Iterator over Namespace interfaces, or an empty iterator if there are no namespaces.Implements javax. Returns an Iterator of namespaces declared on this element. |
| public String | Returns: the uri bound to the prefix or nullthe prefix to lookup prefix)Implements javax. Gets the value that the prefix is bound to in the context of this element. |
| protected final void | |
| public String | |
| public void | |
| public void | |
| public void | |
| public String |
| _attributes | back to summary |
|---|---|
| private Map<QName, Attribute> _attributes | |
| _context | back to summary |
|---|---|
| private NamespaceContext _context | |
| _namespaces | back to summary |
|---|---|
| private List<Namespace> _namespaces | |
| _qname | back to summary |
|---|---|
| private QName _qname | |
| StartElementEvent | back to summary |
|---|---|
public StartElementEvent()
| |
| StartElementEvent | back to summary |
|---|---|
public StartElementEvent(String prefix, String uri, String localpart)
| |
| StartElementEvent | back to summary |
|---|---|
public StartElementEvent(QName qname)
| |
| StartElementEvent | back to summary |
|---|---|
| public StartElementEvent(StartElement startelement) | |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(Attribute attr) | |
| addAttributes | back to summary |
|---|---|
| public final void addAttributes(Iterator<? extends Attribute> attrs) | |
| addNamespace | back to summary |
|---|---|
| public void addNamespace(Namespace namespace) | |
| addNamespaces | back to summary |
|---|---|
| public final void addNamespaces(Iterator<? extends Namespace> namespaces) | |
| getAttributeByName | back to summary |
|---|---|
| public Attribute getAttributeByName(QName qname) Implements javax. Returns the attribute referred to by this name | |
| getAttributes | back to summary |
|---|---|
| public Iterator Implements javax. Returns an Iterator of non-namespace declared attributes returns an empty iterator if there are no attributes. The iterator must contain only implementations of the javax.xml.stream.Attribute interface. Attributes are fundamentally unordered and may not be reported in any order. | |
| getName | back to summary |
|---|---|
| public QName getName() Implements javax. Get the name of this event | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() | |
| getNamespaceContext | back to summary |
|---|---|
| public NamespaceContext getNamespaceContext() Implements 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.
| |
| getNamespaces | back to summary |
|---|---|
| public Iterator Implements javax. Returns an Iterator of namespaces declared on this element. This Iterator does not contain previously declared namespaces unless they appear on the current START_ELEMENT. Therefore this list may contain redeclared namespaces and duplicate namespace declarations. Use the getNamespaceContext() method to get the current context of namespace declarations. The iterator must contain only implementations of the javax.xml.stream.Namespace interface. A Namespace is an Attribute. One can iterate over a list of namespaces as a list of attributes. However this method returns only the list of namespaces declared on this START_ELEMENT and does not include the attributes declared on this START_ELEMENT. | |
| getNamespaceURI | back to summary |
|---|---|
| public String getNamespaceURI(String prefix) Implements 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 | |
| init | back to summary |
|---|---|
| protected final void init() | |
| nameAsString | back to summary |
|---|---|
| public String nameAsString() Return this event as String
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| setName | back to summary |
|---|---|
| public void setName(QName qname) | |
| setNamespaceContext | back to summary |
|---|---|
| public void setNamespaceContext(NamespaceContext context) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |