org.kefirsf.bb.conf
Class Text

java.lang.Object
  extended by org.kefirsf.bb.conf.Text
All Implemented Interfaces:
PatternElement

public class Text
extends Object
implements PatternElement

Pattern text element. The text will be parse by the processor.

Author:
Vitaliy Samolovskih aka Kefir

Constructor Summary
Text()
           
Text(String name, Scope scope, boolean transparent)
           
 
Method Summary
 String getName()
           
 Scope getScope()
          Code scope for parse text.
 boolean isTransparent()
           
 void setName(String name)
           
 void setScope(Scope scope)
          Set scope for parse text.
 void setTransparent(boolean transparent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text()

Text

public Text(String name,
            Scope scope,
            boolean transparent)
Method Detail

getScope

public Scope getScope()
Code scope for parse text.

Returns:
scope

setScope

public void setScope(Scope scope)
Set scope for parse text.

Parameters:
scope - scope

isTransparent

public boolean isTransparent()
Returns:
true if values from parsing of the text will be propagate to current scope level.

setTransparent

public void setTransparent(boolean transparent)
Parameters:
transparent - propagate or not values to current scope level

getName

public String getName()

setName

public void setName(String name)


Copyright © 2013. All Rights Reserved.