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 void
endElement(java.lang.String uri, java.lang.String localName, java.lang.String name)
Callback to indicate the end of an XML element.java.lang.String
getBundleDirectory()
java.util.Map<java.lang.String,JavaScriptBundles.JavaScriptBundle>
getBundles()
void
setRelativePathPrefix(java.lang.String relPathPrefix)
void
startElement(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.SAXException
Description copied from class:DefaultContentHandler
Callback invoked when a new element is encountered.- Specified by:
startElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startElement
in 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.SAXException
Description copied from class:DefaultContentHandler
Callback to indicate the end of an XML element.- Specified by:
endElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
endElement
in 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.
-
-