EchoPoint
1.0

echopoint.stylesheet
Interface SymbolicValue

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SymbolicColorValue, SymbolicNumberValue

public interface SymbolicValue
extends java.io.Serializable

This interface defines the ability to have a symbolic string value substituted for another object value.

For example Integer(1) could be represented by the symbolic string value "Alignment".

See Also:
StyleInfo, StyleAttrDescriptor

Method Summary
 java.lang.String getSymbolic()
          The symbolic string value for a given object value It must not be null.
 java.lang.Object getValue()
          The actual object value for a given symbolic value.
 boolean matches(java.lang.String testSymbolicValue)
          This method can be called to see if a symbolic value in fact matches this SymbolicValue object.
 

Method Detail

getSymbolic

public java.lang.String getSymbolic()
The symbolic string value for a given object value It must not be null.

Returns:
a symbolic String

getValue

public java.lang.Object getValue()
The actual object value for a given symbolic value.

Returns:
an object value

matches

public boolean matches(java.lang.String testSymbolicValue)
This method can be called to see if a symbolic value in fact matches this SymbolicValue object. It should return true if this is the case. This method allows pattern matching such as case insenstive equality.

Parameters:
testSymbolicValue -
Returns:
true if the symbolic values match

EchoPoint
1.0