public class AttributeEventImpl extends BaseEventImpl implements Attribute
mLocation
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 |
---|
AttributeEventImpl(Location loc,
QName name,
String value,
boolean wasSpecified) |
AttributeEventImpl(Location loc,
String localName,
String uri,
String prefix,
String value,
boolean wasSpecified) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Declared abstract to force redefinition by sub-classes
|
String |
getDTDType() |
int |
getEventType() |
QName |
getName() |
String |
getValue() |
int |
hashCode()
Declared abstract to force redefinition by sub-classes
|
boolean |
isAttribute() |
boolean |
isSpecified() |
void |
writeAsEncodedUnicode(Writer w) |
protected static void |
writeEscapedAttrValue(Writer w,
String value) |
void |
writeUsing(XMLStreamWriter2 w) |
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public AttributeEventImpl(Location loc, String localName, String uri, String prefix, String value, boolean wasSpecified)
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class BaseEventImpl
public boolean isAttribute()
isAttribute
in interface XMLEvent
isAttribute
in class BaseEventImpl
public void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class BaseEventImpl
XMLStreamException
public void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class BaseEventImpl
XMLStreamException
public String getDTDType()
getDTDType
in interface Attribute
public boolean isSpecified()
isSpecified
in interface Attribute
public boolean equals(Object o)
BaseEventImpl
equals
in class BaseEventImpl
public int hashCode()
BaseEventImpl
hashCode
in class BaseEventImpl
protected static void writeEscapedAttrValue(Writer w, String value) throws IOException
IOException
Copyright © 2015 fasterxml.com. All Rights Reserved.