public static class IDLFilter.DelegatingXMLEvent extends Object implements XMLEvent
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 |
---|
DelegatingXMLEvent(XMLEvent delegate) |
Modifier and Type | Method and Description |
---|---|
Characters |
asCharacters() |
EndElement |
asEndElement() |
StartElement |
asStartElement() |
int |
getEventType() |
Location |
getLocation() |
QName |
getSchemaType() |
boolean |
isAttribute() |
boolean |
isCharacters() |
boolean |
isEndDocument() |
boolean |
isEndElement() |
boolean |
isEntityReference() |
boolean |
isNamespace() |
boolean |
isProcessingInstruction() |
boolean |
isStartDocument() |
boolean |
isStartElement() |
void |
writeAsEncodedUnicode(Writer writer) |
public DelegatingXMLEvent(XMLEvent delegate)
public int getEventType()
getEventType
in interface XMLEvent
public Location getLocation()
getLocation
in interface XMLEvent
public boolean isStartElement()
isStartElement
in interface XMLEvent
public boolean isAttribute()
isAttribute
in interface XMLEvent
public boolean isNamespace()
isNamespace
in interface XMLEvent
public boolean isEndElement()
isEndElement
in interface XMLEvent
public boolean isEntityReference()
isEntityReference
in interface XMLEvent
public boolean isProcessingInstruction()
isProcessingInstruction
in interface XMLEvent
public boolean isCharacters()
isCharacters
in interface XMLEvent
public boolean isStartDocument()
isStartDocument
in interface XMLEvent
public boolean isEndDocument()
isEndDocument
in interface XMLEvent
public StartElement asStartElement()
asStartElement
in interface XMLEvent
public EndElement asEndElement()
asEndElement
in interface XMLEvent
public Characters asCharacters()
asCharacters
in interface XMLEvent
public QName getSchemaType()
getSchemaType
in interface XMLEvent
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
XMLStreamException
Copyright © 2006-2016–2019. All rights reserved.