public interface StartElement extends XMLEvent
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttributeByName(QName name)
Returns an attribute by name.
|
Iterator |
getAttributes()
Returns the attributes declared on this element.
|
QName |
getName()
Returns the element name.
|
NamespaceContext |
getNamespaceContext()
Returns a read-only namespace context associated with this event.
|
Iterator |
getNamespaces()
Returns the namespaces declared on this element.
|
String |
getNamespaceURI(String prefix)
Returns the namespace URI associated with the given prefix.
|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
Iterator getAttributes()
Iterator getNamespaces()
Attribute getAttributeByName(QName name)
NamespaceContext getNamespaceContext()
String getNamespaceURI(String prefix)