Package weka.classifiers
Class ScriptedClassifierUtils.ExpandPlaceholdersObserver
- java.lang.Object
-
- weka.classifiers.ScriptedClassifierUtils.ExpandPlaceholdersObserver
-
- All Implemented Interfaces:
adams.core.discovery.PropertyTraversal.Observer
- Enclosing class:
- ScriptedClassifierUtils
public static class ScriptedClassifierUtils.ExpandPlaceholdersObserver extends Object implements adams.core.discovery.PropertyTraversal.Observer
Expands placeholders when traversing properties.
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]m_Placeholdersprotected String[]m_Values
-
Constructor Summary
Constructors Constructor Description ExpandPlaceholdersObserver(String[] placeholders, String[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanobserve(adams.core.discovery.PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)Presents the current path, descriptor and object to the observer.
-
-
-
Method Detail
-
observe
public boolean observe(adams.core.discovery.PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)Presents the current path, descriptor and object to the observer.- Specified by:
observein interfaceadams.core.discovery.PropertyTraversal.Observer- Parameters:
path- the pathdesc- the property descriptorparent- the parent objectchild- the child object- Returns:
- true if to continue observing
-
-