Class SAXUtil


  • public class SAXUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.xml.sax.XMLReader createFilteredReader​(org.xml.sax.XMLReader reader, org.xml.sax.XMLFilter... filters)  
      static javax.xml.transform.sax.SAXSource createFilteredSource​(java.io.InputStream is, org.xml.sax.XMLFilter... filters)  
      static org.xml.sax.XMLReader createXMLReader()  
      static java.lang.Throwable getCause​(jakarta.xml.bind.JAXBException e)  
      static void transform​(org.xml.sax.InputSource source, javax.xml.transform.Result result, org.xml.sax.XMLFilter... filters)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • transform

        public static void transform​(org.xml.sax.InputSource source,
                                     javax.xml.transform.Result result,
                                     org.xml.sax.XMLFilter... filters)
                              throws java.io.IOException,
                                     javax.xml.transform.TransformerConfigurationException,
                                     javax.xml.parsers.ParserConfigurationException,
                                     org.xml.sax.SAXException
        Throws:
        java.io.IOException
        javax.xml.transform.TransformerConfigurationException
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
      • createFilteredSource

        public static javax.xml.transform.sax.SAXSource createFilteredSource​(java.io.InputStream is,
                                                                             org.xml.sax.XMLFilter... filters)
                                                                      throws javax.xml.parsers.ParserConfigurationException,
                                                                             org.xml.sax.SAXException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        See Also:
        ImportFilter, SkipFilter, ExtensionFilter, CountFilter, DepthFilter
      • createXMLReader

        public static org.xml.sax.XMLReader createXMLReader()
                                                     throws javax.xml.parsers.ParserConfigurationException,
                                                            org.xml.sax.SAXException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
      • createFilteredReader

        public static org.xml.sax.XMLReader createFilteredReader​(org.xml.sax.XMLReader reader,
                                                                 org.xml.sax.XMLFilter... filters)
      • getCause

        public static java.lang.Throwable getCause​(jakarta.xml.bind.JAXBException e)