Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

alma.acs.config.validators.ConfigFileRedeemerXml Class Reference

Inheritance diagram for alma.acs.config.validators.ConfigFileRedeemerXml:
alma.acs.config.validators.ConfigFileRedeemer

List of all members.

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

Detailed Description

Class that can recognize XML files that are known to be not config files.

Author:
hsommer

Constructor & Destructor Documentation

alma.acs.config.validators.ConfigFileRedeemerXml.ConfigFileRedeemerXml ( Logger  logger  )  throws Exception

Member Function Documentation

boolean alma.acs.config.validators.ConfigFileRedeemerXml._isNotAConfigFile ( File  file  )  [virtual]
void alma.acs.config.validators.ConfigFileRedeemerXml.addXPathMatch ( XPathMatchSetup  xpathMatchSetup  ) 
void alma.acs.config.validators.ConfigFileRedeemerXml.configure (  )  [protected]

Configures information about known files which should not be accused of being config files.

References alma.acs.config.validators.ConfigFileRedeemerXml.addXPathMatch(), and alma.acs.config.validators.ConfigFileRedeemerXml.XSD_NS.

Referenced by alma.acs.config.validators.ConfigFileRedeemerXml.ConfigFileRedeemerXml().

String [] alma.acs.config.validators.ConfigFileRedeemerXml.getFileEndings (  )  [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 '.'.

Returns:

Implements alma.acs.config.validators.ConfigFileRedeemer.


Member Data Documentation

final String alma.acs.config.validators.ConfigFileRedeemerXml.XSD_NS = "http://www.w3.org/2001/XMLSchema" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties