MetaDone
metadone.client.grasyla2.text.TSpaceEngine Class Reference
Inheritance diagram for metadone.client.grasyla2.text.TSpaceEngine:
Collaboration diagram for metadone.client.grasyla2.text.TSpaceEngine:

List of all members.

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]*")

Detailed Description

Renders a space.

Attributes
  • render (native): String, the text to use

Contents

none

Result
A space produced using the `render` attribute.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.text.TSpaceEngine.TSpaceEngine ( GrasylaContext  context,
ConcreteObject  expression,
Engine  parent 
) throws BadPreCondition

Initializes this engine.

Parameters:
contextThe context
expressionThe expression
parentThe parent or null
Exceptions:
BadPreCondition

Member Function Documentation

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.

Parameters:
sThe string
Returns:
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]

Member Data Documentation

final Pattern metadone.client.grasyla2.text.TSpaceEngine.DEFAULT_PATTERN = Pattern.compile("[ \n\r\t\f]*") [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations