| Package | Description | 
|---|---|
| javax.xml.stream | |
| javax.xml.stream.events | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Attribute | XMLEventFactory. createAttribute(QName name,
               String value)Create a new Attribute | 
| abstract Attribute | XMLEventFactory. createAttribute(String localName,
               String value)Create a new Attribute | 
| abstract Attribute | XMLEventFactory. createAttribute(String prefix,
               String namespaceURI,
               String localName,
               String value)Create a new Attribute | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | NamespaceAn interface that contains information about a namespace. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute | StartElement. getAttributeByName(QName name)Returns the attribute referred to by this name | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.