javax.xml.stream.events

Interface Attribute

public interface Attribute extends XMLEvent

An attribute event.
Method Summary
QNamegetDTDType()
Returns the type of this attribute.
QNamegetName()
Returns the name of this attribute.
StringgetValue()
Returns the normalized value of this attribute.
booleanisSpecified()
Indicates whether this attribute was specified in the input source, or just defaulted by the DTD.

Method Detail

getDTDType

public QName getDTDType()
Returns the type of this attribute.

getName

public QName getName()
Returns the name of this attribute.

getValue

public String getValue()
Returns the normalized value of this attribute.

isSpecified

public boolean isSpecified()
Indicates whether this attribute was specified in the input source, or just defaulted by the DTD.