Class JsonReaderXmlEvent

java.lang.Object
org.xbib.content.xml.json.events.JsonReaderXmlEvent
Direct Known Subclasses:
CharactersEvent, EndDocumentEvent, EndElementEvent, StartDocumentEvent, StartElementEvent

public abstract class JsonReaderXmlEvent extends Object
  • Constructor Details

    • JsonReaderXmlEvent

      public JsonReaderXmlEvent()
  • Method Details

    • setQName

      protected void setQName(QName name)
    • 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

      public String getAttributeLocalName(int index)
    • getAttributeName

      public QName getAttributeName(int index)
    • getAttributePrefix

      public String getAttributePrefix(int index)
    • getAttributeType

      public String getAttributeType(int index)
    • getAttributeNamespace

      public String getAttributeNamespace(int index)
    • getAttributeValue

      public String getAttributeValue(int index)
    • getAttributeValue

      public String getAttributeValue(String namespaceURI, String localName)
    • isAttributeSpecified

      public boolean isAttributeSpecified(int index)
    • getText

      public String getText()
    • setText

      protected void setText(String text)
    • 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

      public QName getName()
    • getLocalName

      public String getLocalName()
    • getPrefix

      public String getPrefix()
    • getLocation

      public Location getLocation()
    • setLocation

      protected void setLocation(Location location)
    • addAttribute

      public void addAttribute(QName name, String value)