java.lang.Object
org.xbib.content.xml.stream.AbstractXMLEvent
- All Implemented Interfaces:
XMLEvent,XMLStreamConstants
- Direct Known Subclasses:
AbstractCharactersEvent
Abstract base class for
XMLEvent implementations.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LocationThe event location.protected QNameThe schema type.Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
getEventType, writeAsEncodedUnicode
-
Field Details
-
location
The event location. -
schemaType
The schema type.
-
-
Constructor Details
-
AbstractXMLEvent
public AbstractXMLEvent()
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceXMLEvent
-
getSchemaType
- Specified by:
getSchemaTypein interfaceXMLEvent
-
asCharacters
- Specified by:
asCharactersin interfaceXMLEvent
-
asEndElement
- Specified by:
asEndElementin interfaceXMLEvent
-
asStartElement
- Specified by:
asStartElementin interfaceXMLEvent
-
isAttribute
public boolean isAttribute()- Specified by:
isAttributein interfaceXMLEvent
-
isCharacters
public boolean isCharacters()- Specified by:
isCharactersin interfaceXMLEvent
-
isEndDocument
public boolean isEndDocument()- Specified by:
isEndDocumentin interfaceXMLEvent
-
isEndElement
public boolean isEndElement()- Specified by:
isEndElementin interfaceXMLEvent
-
isEntityReference
public boolean isEntityReference()- Specified by:
isEntityReferencein interfaceXMLEvent
-
isNamespace
public boolean isNamespace()- Specified by:
isNamespacein interfaceXMLEvent
-
isProcessingInstruction
public boolean isProcessingInstruction()- Specified by:
isProcessingInstructionin interfaceXMLEvent
-
isStartDocument
public boolean isStartDocument()- Specified by:
isStartDocumentin interfaceXMLEvent
-
isStartElement
public boolean isStartElement()- Specified by:
isStartElementin interfaceXMLEvent
-
toString
-