MetaDone
|
Public Member Functions | |
TSpaceEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition | |
Static Public Member Functions | |
static boolean | isSpace (String s) |
Protected Member Functions | |
boolean | isNativeAttribute (String name) |
Component<?extends String > | evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition |
void | notifyChildChanged (Engine child, ChildComponent comp) |
Static Private Attributes | |
static final Pattern | DEFAULT_PATTERN = Pattern.compile("[ \n\r\t\f]*") |
Renders a space.
none
metadone.client.grasyla2.text.TSpaceEngine.TSpaceEngine | ( | GrasylaContext | context, |
ConcreteObject | expression, | ||
Engine | parent | ||
) | throws BadPreCondition |
Initializes this engine.
context | The context |
expression | The expression |
parent | The parent or null |
BadPreCondition |
Component<? extends String> metadone.client.grasyla2.text.TSpaceEngine.evaluateComponent | ( | BootstrapGrasyla | grasyla | ) | throws BadPreCondition [protected] |
boolean metadone.client.grasyla2.text.TSpaceEngine.isNativeAttribute | ( | String | name | ) | [protected] |
static boolean metadone.client.grasyla2.text.TSpaceEngine.isSpace | ( | String | s | ) | [static] |
Indicates whether the given string contains only whitespace characters.
s | The string |
true
iff s can be used as a space References metadone.client.grasyla2.text.TSpaceEngine.DEFAULT_PATTERN.
Referenced by metadone.client.grasyla2.text.TGroupEngine.buildComponent().
void metadone.client.grasyla2.text.TSpaceEngine.notifyChildChanged | ( | Engine | child, |
ChildComponent | comp | ||
) | [protected] |
final Pattern metadone.client.grasyla2.text.TSpaceEngine.DEFAULT_PATTERN = Pattern.compile("[ \n\r\t\f]*") [static, private] |
Referenced by metadone.client.grasyla2.text.TSpaceEngine.isSpace().