|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.wvtool.config.WVTConfigurationFact
public class WVTConfigurationFact
Class used to simplify the process of creating rules, in cases, in which simply a constant value is returned.
Field Summary | |
---|---|
private java.lang.String |
className
the name of the class from which to create an object as component |
private java.lang.Object |
component
the object that represents the component |
Constructor Summary | |
---|---|
WVTConfigurationFact(java.lang.Object component)
Constructor for a configuration fact. |
|
WVTConfigurationFact(java.lang.String className)
Constructor for a configuration fact. |
Method Summary | |
---|---|
java.lang.Object |
getMatchingComponent(WVTDocumentInfo d)
Get a component object for a given document info |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String className
private final java.lang.Object component
Constructor Detail |
---|
public WVTConfigurationFact(java.lang.String className)
className
- the name of the class, which represents the componentpublic WVTConfigurationFact(java.lang.Object component)
component
- the component to returnMethod Detail |
---|
public java.lang.Object getMatchingComponent(WVTDocumentInfo d)
WVTConfigurationRule
getMatchingComponent
in interface WVTConfigurationRule
d
- information about a document
WVTConfigurationRule.getMatchingComponent(WVTDocumentInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |