public class NamedEvent extends DummyEvent
fLocationATTRIBUTE, 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 |
|---|
NamedEvent() |
NamedEvent(QName qname) |
NamedEvent(String prefix,
String uri,
String localpart) |
| Modifier and Type | Method and Description |
|---|---|
QName |
getName() |
String |
getNamespace() |
String |
getPrefix() |
String |
nameAsString() |
void |
setName(QName qname) |
protected void |
writeAsEncodedUnicodeEx(Writer writer)
Helper method in order to expose IOException.
|
asCharacters, asEndElement, asStartElement, charEncode, getEventType, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, writeAsEncodedUnicodepublic NamedEvent()
public NamedEvent(QName qname)
public String getPrefix()
public QName getName()
public void setName(QName qname)
public String nameAsString()
public String getNamespace()
protected void writeAsEncodedUnicodeEx(Writer writer) throws IOException
DummyEventwriteAsEncodedUnicodeEx in class DummyEventwriter - The writer that will output the dataIOException - if there is an IO errorCopyright © 2018–2021 mhoffrogge. All rights reserved.