org.nuxeo.wss.servlet.config
Class XmlConfigHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.nuxeo.wss.servlet.config.XmlConfigHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class XmlConfigHandler
- extends DefaultHandler
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
FILTERMAPPING_TAG
public static final String FILTERMAPPING_TAG
- See Also:
- Constant Field Values
URL_ATTRIBUTE
public static final String URL_ATTRIBUTE
- See Also:
- Constant Field Values
REDIRECT_ATTRIBUTE
public static final String REDIRECT_ATTRIBUTE
- See Also:
- Constant Field Values
SERVICE_ATTRIBUTE
public static final String SERVICE_ATTRIBUTE
- See Also:
- Constant Field Values
TYPE_ATTRIBUTE
public static final String TYPE_ATTRIBUTE
- See Also:
- Constant Field Values
XmlConfigHandler
public XmlConfigHandler()
startElement
public void startElement(String uri,
String localName,
String name,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String name)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
getConfigName
public static String getConfigName()
setConfigName
public static void setConfigName(String configName)
loadConfig
public static void loadConfig()
throws Exception
- Throws:
Exception
loadConfig
public static void loadConfig(String configName)
throws Exception
- Throws:
Exception
getConfigEntries
public static List<FilterBindingConfig> getConfigEntries()
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.