public class AttributeImpl extends XMLEventImpl implements Attribute
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
AttributeImpl(javax.xml.namespace.QName name,
java.lang.String value) |
AttributeImpl(javax.xml.namespace.QName name,
java.lang.String value,
boolean specified) |
AttributeImpl(javax.xml.namespace.QName name,
java.lang.String value,
boolean specified,
java.lang.String dtdType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDTDType() |
int |
getEventType() |
javax.xml.namespace.QName |
getName() |
java.lang.String |
getValue() |
boolean |
isSpecified() |
java.lang.String |
toString() |
void |
writeAsEncodedUnicode(java.io.Writer writer) |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public AttributeImpl(javax.xml.namespace.QName name, java.lang.String value)
public AttributeImpl(javax.xml.namespace.QName name, java.lang.String value, boolean specified)
public AttributeImpl(javax.xml.namespace.QName name, java.lang.String value, boolean specified, java.lang.String dtdType)
public java.lang.String getDTDType()
getDTDType
in interface Attribute
public boolean isSpecified()
isSpecified
in interface Attribute
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class XMLEventImpl
public void writeAsEncodedUnicode(java.io.Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class XMLEventImpl
XMLStreamException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object