|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.rulebase.RuleBaseMapBuilder
org.eclipse.actf.validation.rulebase.RuleBaseMapDocument
public class RuleBaseMapDocument
default implementation for the ACTF validation engine. A rulebase mapping document is located in rulebases.xml files somewhere in the resources classpath.
Field Summary | |
---|---|
static String |
LOCATION
attribute defining the rulebase location for a document rulebase; value is 'location' |
static String |
POLYMORPHIC
attribute defining whether or not rulebases are to be applied polymorphically; value is 'polymorphic' |
static String |
REGEXP
attribute defining the regular expression for a target; value is 'regexp' |
static String |
RULEBASE
tag name for the element defining a rulebase; value is 'rulebase' |
static String |
RULEBASE_FACTORY
attribute defining the rulebase factory; value is 'rulebaseFactory' |
static String |
RULEBASES
root element name for the rulebases.xml file; value is 'rulebases |
static String |
TARGET
tag name for element defining a target; value is 'target' |
Constructor Summary | |
---|---|
RuleBaseMapDocument(Element root)
create a rulebase mapping document from the given XML source stream |
Method Summary | |
---|---|
IRuleBaseDescriptor[] |
getRuleBaseDescriptors()
|
protected IRuleBaseDescriptor |
parseRuleBaseDescriptor(Object document)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RULEBASES
public static final String RULEBASE
public static final String TARGET
public static final String RULEBASE_FACTORY
public static final String LOCATION
public static final String POLYMORPHIC
public static final String REGEXP
Constructor Detail |
---|
public RuleBaseMapDocument(Element root)
root
- -- root element of an XML document
SAXException
- in case of parsing error
IOException
- in case of I/O error
ParserConfigurationException
Method Detail |
---|
public IRuleBaseDescriptor[] getRuleBaseDescriptors()
getRuleBaseDescriptors
in class RuleBaseMapBuilder
protected IRuleBaseDescriptor parseRuleBaseDescriptor(Object document)
parseRuleBaseDescriptor
in class RuleBaseMapBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |