Package com.microstrategy.web.app.utils
Class JavaScriptBundles.JavaScriptBundlesContentHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.microstrategy.utils.xml.DefaultContentHandler
-
- com.microstrategy.web.app.utils.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
-
-
Field Summary
-
Fields inherited from class com.microstrategy.utils.xml.DefaultContentHandler
locator, messageRouter, sourceLocation, validationErrorCount, xmlReader
-
-
Constructor Summary
Constructors Constructor Description JavaScriptBundlesContentHandler(java.lang.String sourceLocation, MessageRouter msgRouter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendElement(java.lang.String uri, java.lang.String localName, java.lang.String name)Callback to indicate the end of an XML element.java.lang.StringgetBundleDirectory()java.util.Map<java.lang.String,JavaScriptBundles.JavaScriptBundle>getBundles()voidsetRelativePathPrefix(java.lang.String relPathPrefix)voidstartElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes)Callback invoked when a new element is encountered.-
Methods inherited from class com.microstrategy.utils.xml.DefaultContentHandler
characters, clearChars, endDocument, generateErrorMessage, getCharacters, getCurrentLineNumber, ignorableWhitespace, incrementValidationErrorCount, internalError, resetData, setDocumentLocator, setMessageRouter, setSourceLocation, setXMLReader, validationError
-
-
-
-
Constructor Detail
-
JavaScriptBundlesContentHandler
public JavaScriptBundlesContentHandler(java.lang.String sourceLocation, MessageRouter msgRouter)
-
-
Method Detail
-
setRelativePathPrefix
public void setRelativePathPrefix(java.lang.String relPathPrefix)
-
getBundles
public java.util.Map<java.lang.String,JavaScriptBundles.JavaScriptBundle> getBundles()
-
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.SAXExceptionDescription copied from class:DefaultContentHandlerCallback invoked when a new element is encountered.- Specified by:
startElementin interfaceorg.xml.sax.ContentHandler- Overrides:
startElementin classDefaultContentHandler- 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.SAXExceptionDescription copied from class:DefaultContentHandlerCallback to indicate the end of an XML element.- Specified by:
endElementin interfaceorg.xml.sax.ContentHandler- Overrides:
endElementin classDefaultContentHandler- 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.
-
-