Package adams.core.discovery
Class PropertyTraversal
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.discovery.PropertyTraversal
-
- All Implemented Interfaces:
LoggingLevelHandler
,LoggingSupporter
,SizeOfHandler
,Serializable
public class PropertyTraversal extends CustomLoggingLevelObject
Performs property traversal presenting the properties to an observer.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PropertyTraversal.Observer
Interface for traversal observers.
-
Field Summary
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description PropertyTraversal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
For testing only.void
traverse(PropertyTraversal.Observer observer, Object obj)
Performs the property traversal.protected void
traverse(PropertyTraversal.Observer observer, Object obj, PropertyPath.Path path)
Performs the property traversal.-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
traverse
protected void traverse(PropertyTraversal.Observer observer, Object obj, PropertyPath.Path path)
Performs the property traversal.- Parameters:
observer
- the observer to useobj
- the object to analyzepath
- the path so far
-
traverse
public void traverse(PropertyTraversal.Observer observer, Object obj)
Performs the property traversal.- Parameters:
observer
- the observer to useobj
- the object to analyze
-
-