Class JsonStructureReader

  • All Implemented Interfaces:
    org.xml.sax.XMLReader

    public class JsonStructureReader
    extends XMLReaderAdapter
    • Constructor Detail

      • JsonStructureReader

        public JsonStructureReader​(Unmarshaller u)
      • JsonStructureReader

        public JsonStructureReader​(Unmarshaller u,
                                   java.lang.Class clazz)
    • Method Detail

      • setJsonStructure

        public void setJsonStructure​(javax.json.JsonStructure jsonStructure)
      • parse

        public void parse​(org.xml.sax.InputSource input)
                   throws java.io.IOException,
                          org.xml.sax.SAXException,
                          javax.json.JsonException
        Specified by:
        parse in interface org.xml.sax.XMLReader
        Overrides:
        parse in class XMLReader
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.json.JsonException
      • parse

        public void parse​(java.lang.String systemId)
        Specified by:
        parse in interface org.xml.sax.XMLReader
        Overrides:
        parse in class XMLReaderAdapter
      • parseRoot

        public void parseRoot​(javax.json.JsonValue jsonValue)
                       throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • getMediaType

        public MediaType getMediaType()
        INTERNAL: The MediaType associated with this reader
        Overrides:
        getMediaType in class XMLReader
        Returns:
        The MediaType associated with this reader