javax.xml.stream.events
public interface Attribute 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 |
---|---|
String |
getDTDType()
Returns the type of this attribute.
|
QName |
getName()
Returns the name of this attribute.
|
String |
getValue()
Returns the normalized value of this attribute.
|
boolean |
isSpecified()
Indicates whether this attribute was specified in the input source, or
just defaulted by the DTD.
|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
String getDTDType()
boolean isSpecified()