public interface TransformationSupport
PlasticClass
, needed when transforming.Modifier and Type | Method and Description |
---|---|
void |
addEventHandler(String eventType,
int minContextValues,
String operationDescription,
ComponentEventHandler handler)
Adds an event handler.
|
boolean |
isRootTransformation()
Returns true if the class being transformed is a root class: it does not inherit
from another transformed class, but instead inherits from Object.
|
Class |
toClass(String typeName) |
Class toClass(String typeName)
typeName
- Java type name (which may be a primitive type or array, or fully qualified class name)boolean isRootTransformation()
void addEventHandler(String eventType, int minContextValues, String operationDescription, ComponentEventHandler handler)
eventType
- type of eventminContextValues
- number of context values required to activate the handleroperationDescription
- Used with OperationTracker
when invoking the handlerhandler
- code to execute when the event matches5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.