public class ConfigFileRedeemerXml extends ConfigFileRedeemer
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigFileRedeemerXml.XPathMatchSetup |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ConfigFileRedeemerXml.XPathMatchSetup> |
xpathMatchSetupList |
static java.lang.String |
XSD_NS |
logger| Constructor and Description |
|---|
ConfigFileRedeemerXml(java.util.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_isNotAConfigFile(java.io.File xmlFile)
Called by
ConfigFileRedeemer.isNotAConfigFile(File) only if the file ending matches
one of the endings in ConfigFileRedeemer.getFileEndings(). |
void |
addXPathMatch(ConfigFileRedeemerXml.XPathMatchSetup xpathMatchSetup) |
protected void |
configure()
Configures information about known files which should not be accused of being config files.
|
java.lang.String[] |
getFileEndings()
Subclasses supply the endings of files that they can possibly redeem.
|
getName, isNotAConfigFileprotected java.util.List<ConfigFileRedeemerXml.XPathMatchSetup> xpathMatchSetupList
public static final java.lang.String XSD_NS
public ConfigFileRedeemerXml(java.util.logging.Logger logger)
throws java.lang.Exception
java.lang.Exceptionprotected void configure()
public java.lang.String[] getFileEndings()
ConfigFileRedeemer
Note that in order to match, the file name must end with one of the given strings,
see String.endsWith(java.lang.String). The ending may therefore contain more than one '.'.
getFileEndings in class ConfigFileRedeemerpublic boolean _isNotAConfigFile(java.io.File xmlFile)
ConfigFileRedeemerConfigFileRedeemer.isNotAConfigFile(File) only if the file ending matches
one of the endings in ConfigFileRedeemer.getFileEndings()._isNotAConfigFile in class ConfigFileRedeemerpublic void addXPathMatch(ConfigFileRedeemerXml.XPathMatchSetup xpathMatchSetup)