Class JsonHandlerXML

java.lang.Object
net.sf.saxon.ma.json.JsonHandler
net.sf.saxon.ma.json.JsonHandlerXML

public class JsonHandlerXML extends JsonHandler
Handler to generate an XML representation of JSON from a series of events
  • Field Details

  • Constructor Details

    • JsonHandlerXML

      public JsonHandlerXML(XPathContext context, RetainedStaticContext rsc, int flags) throws XPathException
      Make the handler to construct the XML tree representation for JSON
      Parameters:
      context - the context in which the result tree is to be built
      rsc - the retained static context, used for schema information and for the base URI of the constructed tree
      flags - flags indicating the chosen options
      Throws:
      XPathException - if initialization fails, for example because of problems loading the schema
  • Method Details