java.lang.Object
org.xbib.content.xml.json.events.JsonReaderXmlEvent
- Direct Known Subclasses:
CharactersEvent,EndDocumentEvent,EndElementEvent,StartDocumentEvent,StartElementEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(QName name, String value) intgetAttributeLocalName(int index) getAttributeName(int index) getAttributeNamespace(int index) getAttributePrefix(int index) getAttributeType(int index) getAttributeValue(int index) getAttributeValue(String namespaceURI, String localName) abstract intgetName()getText()char[]intgetTextCharacters(int sourceStart, char[] target, int targetStart, int length) intintbooleanhasName()booleanbooleanisAttributeSpecified(int index) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidsetLocation(Location location) protected voidprotected void
-
Constructor Details
-
JsonReaderXmlEvent
public JsonReaderXmlEvent()
-
-
Method Details
-
setQName
-
getEventType
public abstract int getEventType() -
isAttribute
public boolean isAttribute() -
isCharacters
public boolean isCharacters() -
isEndDocument
public boolean isEndDocument() -
isEndElement
public boolean isEndElement() -
isEntityReference
public boolean isEntityReference() -
isNamespace
public boolean isNamespace() -
isProcessingInstruction
public boolean isProcessingInstruction() -
isStartDocument
public boolean isStartDocument() -
isStartElement
public boolean isStartElement() -
getAttributeCount
public int getAttributeCount() -
getAttributeLocalName
-
getAttributeName
-
getAttributePrefix
-
getAttributeType
-
getAttributeNamespace
-
getAttributeValue
-
getAttributeValue
-
isAttributeSpecified
public boolean isAttributeSpecified(int index) -
getText
-
setText
-
getTextCharacters
public char[] getTextCharacters() -
getTextCharacters
public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException - Throws:
XMLStreamException
-
getTextStart
public int getTextStart() -
getTextLength
public int getTextLength() -
hasName
public boolean hasName() -
getName
-
getLocalName
-
getPrefix
-
getLocation
-
setLocation
-
addAttribute
-