Package org.pf.textx

Extended Text Utility Classes
A component that provides a generic configurable text placeholder replacement engine.

See:
          Description

Interface Summary
FunctionResolver This interface defines the method an object must support, if it wants to provide values for specific function calls.
TextRepresentation This interface defines the method an object must support, if it wants to provide its text representation other than by the method toString().
VariableContainer Extends the VariableResolver interface with write capability methods.
VariableResolver This interface defines the method an object must support, if it wants to provide values associated to specific variable names.
 

Class Summary
BasicTextFunctionResolver This class provides support for some basic functions, that are useful in text replacement done by a TextEngine.
BasicVariableContainer This is a basic implementation of the interface VariableResolver.
GlobalLocalPlaceholderReplacement Contains all variable settings and provides a mechanism, to replace variable names in a text by their current value.
GlobalLocalVariables Contains global and local variable settings.
StringObfuscator Simple converter that can convert a string into a obfuscated Base64 representation and back to its original.
TextEngine Instances of this class are able to replace all variables by their values in a given text
VariableResolverPool Instances of this class can pool several VariableResolver.
 

Exception Summary
InvalidParameterException This exception class is used for signalling that something is wrong with the parameters given to a function.
TextReplacementException This exception class is a root exception class for exceptions of text replacement services.
UnknownFunctionException This exception class is used for signalling that a given function name is not known and can't be dealt with.
UnknownVariableException This exception class is used for signaling that a given variable name is not known and can't be dealt with.
 

Package org.pf.textx Description

Extended Text Utility Classes


A component that provides a generic configurable text placeholder replacement engine.