Class JavaScriptBundles.JavaScriptBundlesContentHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    Enclosing class:
    JavaScriptBundles

    public static class JavaScriptBundles.JavaScriptBundlesContentHandler
    extends DefaultContentHandler
    • Constructor Detail

      • JavaScriptBundlesContentHandler

        public JavaScriptBundlesContentHandler​(java.lang.String sourceLocation,
                                               MessageRouter msgRouter)
    • Method Detail

      • setRelativePathPrefix

        public void setRelativePathPrefix​(java.lang.String relPathPrefix)
      • getBundleDirectory

        public java.lang.String getBundleDirectory()
      • startElement

        public void startElement​(java.lang.String uri,
                                 java.lang.String localName,
                                 java.lang.String name,
                                 org.xml.sax.Attributes attributes)
                          throws org.xml.sax.SAXException
        Description copied from class: DefaultContentHandler
        Callback invoked when a new element is encountered.
        Specified by:
        startElement in interface org.xml.sax.ContentHandler
        Overrides:
        startElement in class DefaultContentHandler
        Parameters:
        uri - The URI of the element.
        localName - The local name of the element.
        name - The qualified name of the element.
        attributes - The attributes associated with the element.
        Throws:
        org.xml.sax.SAXException - If an unexpected element appears in the configuration file.
      • endElement

        public void endElement​(java.lang.String uri,
                               java.lang.String localName,
                               java.lang.String name)
                        throws org.xml.sax.SAXException
        Description copied from class: DefaultContentHandler
        Callback to indicate the end of an XML element.
        Specified by:
        endElement in interface org.xml.sax.ContentHandler
        Overrides:
        endElement in class DefaultContentHandler
        Parameters:
        uri - The URI of the element.
        localName - The local name of the element.
        name - The qualified name of the element.
        Throws:
        org.xml.sax.SAXException - If an unexpected element was encountered.