public class XmlConfigHandler extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
static String |
FILTERMAPPING_TAG |
static String |
REDIRECT_ATTRIBUTE |
static String |
SERVICE_ATTRIBUTE |
static String |
TYPE_ATTRIBUTE |
static String |
URL_ATTRIBUTE |
Constructor and Description |
---|
XmlConfigHandler() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String name) |
static List<FilterBindingConfig> |
getConfigEntries() |
static String |
getConfigName() |
static void |
loadConfig() |
static void |
loadConfig(String configName) |
static void |
setConfigName(String configName) |
void |
startElement(String uri,
String localName,
String name,
Attributes attributes) |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final String FILTERMAPPING_TAG
public static final String URL_ATTRIBUTE
public static final String REDIRECT_ATTRIBUTE
public static final String SERVICE_ATTRIBUTE
public static final String TYPE_ATTRIBUTE
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public static String getConfigName()
public static void setConfigName(String configName)
public static void loadConfig() throws IOException
IOException
public static void loadConfig(String configName) throws IOException
IOException
public static List<FilterBindingConfig> getConfigEntries() throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.