public class AttributeEventImpl extends BaseEventImpl implements Attribute
mLocationATTRIBUTE, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementpublic AttributeEventImpl(Location loc, String localName, String uri, String prefix, String value, boolean wasSpecified)
public int getEventType()
getEventType in interface XMLEventgetEventType in class BaseEventImplpublic boolean isAttribute()
isAttribute in interface XMLEventisAttribute in class BaseEventImplpublic void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class BaseEventImplXMLStreamExceptionpublic void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImplXMLStreamExceptionpublic String getDTDType()
getDTDType in interface Attributepublic boolean isSpecified()
isSpecified in interface Attributepublic boolean equals(Object o)
BaseEventImplequals in class BaseEventImplpublic int hashCode()
BaseEventImplhashCode in class BaseEventImplprotected static void writeEscapedAttrValue(Writer w, String value) throws IOException
IOExceptionCopyright © 2015 fasterxml.com. All Rights Reserved.