

Classes | |
| class | XPathMatchSetup |
Public Member Functions | |
| ConfigFileRedeemerXml (Logger logger) throws Exception | |
| String[] | getFileEndings () |
| boolean | _isNotAConfigFile (File xmlFile) |
| void | addXPathMatch (XPathMatchSetup xpathMatchSetup) |
Static Public Attributes | |
| static final String | XSD_NS = "http://www.w3.org/2001/XMLSchema" |
Protected Member Functions | |
| void | configure () |
Protected Attributes | |
| List< XPathMatchSetup > | xpathMatchSetupList |
Class that can recognize XML files that are known to be not config files.
| alma::acs::config::validators::ConfigFileRedeemerXml::ConfigFileRedeemerXml | ( | Logger | logger | ) | throws Exception [inline] |
| boolean alma::acs::config::validators::ConfigFileRedeemerXml::_isNotAConfigFile | ( | File | file | ) | [inline, virtual] |
Called by isNotAConfigFile(File) only if the file ending matches one of the endings in getFileEndings().
Implements alma::acs::config::validators::ConfigFileRedeemer.
References alma::acs::config::validators::XmlNamespaceContextContainer::addNamespace(), alma::acs::config::validators::ConfigFileRedeemerXml::XPathMatchSetup::getExpression(), alma::acs::config::validators::ConfigFileRedeemerXml::XPathMatchSetup::getNamespace(), alma::acs::config::validators::ConfigFileRedeemerXml::XPathMatchSetup::getPrefix(), alma::acs::config::validators::ConfigFileRedeemerXml::XPathMatchSetup::getReturnType(), alma::acs::config::validators::ConfigFileRedeemer::logger, and xpathMatchSetupList.
| void alma::acs::config::validators::ConfigFileRedeemerXml::addXPathMatch | ( | XPathMatchSetup | xpathMatchSetup | ) | [inline] |
References xpathMatchSetupList.
Referenced by configure().
| void alma::acs::config::validators::ConfigFileRedeemerXml::configure | ( | ) | [inline, protected] |
Configures information about known files which should not be accused of being config files.
References addXPathMatch(), and XSD_NS.
Referenced by ConfigFileRedeemerXml().
| String [] alma::acs::config::validators::ConfigFileRedeemerXml::getFileEndings | ( | ) | [inline, virtual] |
Subclasses supply the endings of files that they can possibly redeem.
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 '.'.
Implements alma::acs::config::validators::ConfigFileRedeemer.
List<XPathMatchSetup> alma::acs::config::validators::ConfigFileRedeemerXml::xpathMatchSetupList [protected] |
Referenced by _isNotAConfigFile(), addXPathMatch(), and ConfigFileRedeemerXml().
final String alma::acs::config::validators::ConfigFileRedeemerXml::XSD_NS = "http://www.w3.org/2001/XMLSchema" [static] |
Referenced by configure().
1.6.2