public interface IPropertyCompiler
Deprecated This interface is replaced by the com.ibm.etools.mft.api.IRuntimePropertyCompiler. The class that implements IPropertyCompiler can only be invoked when compiling message flows from the eclipse workspace. When the source flows are deployed the classes implementing IRuntimePropertyCompiler will be invoked to provide compiled values for the deployed flows. Interface to a custom Property Compiler. This interface is intended to be implemented by UserDefined Node developers.
A Property Compiler class can be specified at message node design time. If one is not specified, the default behaviour of the message flow builder is to incorporate the message node's property value into the flow without compilation; by simply converting it to a String and then serializing it (in most cases, this is the desired behaviour).
Field | Description |
---|---|
copyright |
Method | Description |
---|---|
String compile(Object) | Takes the value of a message node property, performs compilation on this value and then returns the result as a String. |
boolean isWhiteSpacePreserved() | Returns whether or not white space is preserved Used by the messageflow compiler when compiling messageflows. |
public static final java.lang.String copyright
public String compile(Object value) throws CoreExceptionTakes the value of a message node property, performs compilation on this value and then returns the result as a String. Used by the messageflow compiler when compiling messageflows.
- Parameters
- value - Object will be a String or a java.lang class that wraps a primitive type such a Boolean or Integer.
- Returns
- the compiled value as a String.
public boolean isWhiteSpacePreserved()Returns whether or not white space is preserved Used by the messageflow compiler when compiling messageflows. When true the property will be stored as XML an text node, otherwise it is will be stored as an XML attribute to which white space normalization applies.
- Returns
- whether white space is preserved or not