| javax.xml.stream.events.Attribute
Attribute | public interface Attribute extends XMLEvent(Code) | | An interface that contains information about an attribute. Attributes are reported
as a set of events accessible from a StartElement. Other applications may report
Attributes as first-order events, for example as the results of an XPath expression.
version: 1.0 author: Copyright (c) 2003 by BEA Systems. All Rights Reserved. See Also: StartElement |
getDTDType | public String getDTDType()(Code) | | Gets the type of this attribute, default is
the String "CDATA"
the type as a String, default is "CDATA" |
getName | QName getName()(Code) | | Returns the QName for this attribute
|
getValue | public String getValue()(Code) | | Gets the normalized value of this attribute
|
isSpecified | public boolean isSpecified()(Code) | | A flag indicating whether this attribute was actually
specified in the start-tag of its element, or was defaulted from the schema.
returns true if this was specified in the start element |
|
|