|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ jakartaoro overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.acmsl.regexpplugin.jakartaoro
Class Perl5CompilerOROAdapter

java.lang.Objectorg.acmsl.regexpplugin.jakartaoro.Perl5CompilerOROAdapter
- All Implemented Interfaces:
- org.acmsl.regexpplugin.Compiler
- public class Perl5CompilerOROAdapter
- extends java.lang.Object
- implements org.acmsl.regexpplugin.Compiler
- extends java.lang.Object
Jakarta ORO-specific regexp compiler adapter. This class makes possible the use of ORO compilers inside this API. A delegation is used because Perl5Compiler is a final class.
- Version:
- $Revision: 1.12 $
Field Summary | |
private boolean |
m__bCaseSensitive
Case sensitiveness. |
private boolean |
m__bMultiline
Multiline parsing. |
private org.apache.oro.text.regex.Perl5Compiler |
m__Instance
Delegated instance. |
static Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
Constructor Summary | |
Perl5CompilerOROAdapter()
|
Method Summary | |
org.acmsl.regexpplugin.Pattern |
compile(java.lang.String regexp)
Compiles given regular expression and creates a Pattern object to apply such rule on concrete text contents. |
static Version |
getClassVersion()
Retrieves the current version of this class. |
protected org.apache.oro.text.regex.Perl5Compiler |
getDelegatedInstance()
Retrieves an instance of Perl5Compiler class. |
Version |
getVersion()
Retrieves the current version of this object. |
boolean |
isCaseSensitive()
Retrieves whether the compiler should care about case sensitiveness or not. |
boolean |
isMultiline()
Sets whether the compiler should care about new line delimiters or not. |
private boolean |
resetOptions()
Resets the compiler options. |
protected void |
setAdaptee(org.apache.oro.text.regex.Perl5Compiler adaptee)
Sets the adaptee. |
void |
setCaseSensitive(boolean caseSensitive)
Sets whether the compiler should care about case sensitiveness or not. |
void |
setMultiline(boolean multiline)
Sets whether the compiler should care about new line delimiters or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
m__Instance
private org.apache.oro.text.regex.Perl5Compiler m__Instance
- Delegated instance.
m__bCaseSensitive
private boolean m__bCaseSensitive
- Case sensitiveness.
m__bMultiline
private boolean m__bMultiline
- Multiline parsing.
VERSION
public static final Version VERSION
- Concrete version object updated everytime it's checked-in in a CVS
repository.
Constructor Detail |
Perl5CompilerOROAdapter
public Perl5CompilerOROAdapter()
Method Detail |
compile
public org.acmsl.regexpplugin.Pattern compile(java.lang.String regexp) throws org.acmsl.regexpplugin.MalformedPatternException
- Compiles given regular expression and creates a Pattern object to
apply such rule on concrete text contents.
- Specified by:
compile
in interfaceorg.acmsl.regexpplugin.Compiler
resetOptions
private boolean resetOptions()
- Resets the compiler options.
getDelegatedInstance
protected org.apache.oro.text.regex.Perl5Compiler getDelegatedInstance()
- Retrieves an instance of Perl5Compiler class.
setAdaptee
protected void setAdaptee(org.apache.oro.text.regex.Perl5Compiler adaptee)
- Sets the adaptee.
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
- Sets whether the compiler should care about case sensitiveness
or not.
- Specified by:
setCaseSensitive
in interfaceorg.acmsl.regexpplugin.Compiler
isCaseSensitive
public boolean isCaseSensitive()
- Retrieves whether the compiler should care about case sensitiveness
or not.
- Specified by:
isCaseSensitive
in interfaceorg.acmsl.regexpplugin.Compiler
setMultiline
public void setMultiline(boolean multiline)
- Sets whether the compiler should care about new line delimiters
or not.
- Specified by:
setMultiline
in interfaceorg.acmsl.regexpplugin.Compiler
isMultiline
public boolean isMultiline()
- Sets whether the compiler should care about new line delimiters
or not.
- Specified by:
isMultiline
in interfaceorg.acmsl.regexpplugin.Compiler
getVersion
public Version getVersion()
- Retrieves the current version of this object.
getClassVersion
public static Version getClassVersion()
- Retrieves the current version of this class.
|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ jakartaoro overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |