Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.oro.text.regex
Class OpCode  view OpCode download OpCode.java

java.lang.Object
  extended byorg.apache.oro.text.regex.OpCode

final class OpCode
extends java.lang.Object

The OpCode class should not be instantiated. It is a holder of various constants and static methods pertaining to the manipulation of the op-codes used in a compiled regular expression.

Since:
1.0
Version:
@version@

Field Summary
(package private) static char _ALNUM
           
(package private) static char _ALNUMC
           
(package private) static char _ALPHA
           
(package private) static char _ANY
           
(package private) static char _ANYOF
           
(package private) static char _ANYOFUN
           
(package private) static char _ASCII
           
(package private) static char _BACK
           
(package private) static char _BLANK
           
(package private) static char _BOL
           
(package private) static char _BOUND
           
(package private) static char _BRANCH
           
(package private) static char _CLOSE
           
(package private) static char _CNTRL
           
(package private) static char _CURLY
           
(package private) static char _CURLYX
           
(package private) static char _DIGIT
           
(package private) static char _END
           
(package private) static char _EOL
           
(package private) static char _EXACTLY
           
(package private) static char _GBOL
           
(package private) static char _GRAPH
           
(package private) static char _IFMATCH
           
(package private) static char _LOWER
           
(package private) static char _MBOL
           
(package private) static char _MEOL
           
(package private) static char _MINMOD
           
(package private) static char _NALNUM
           
(package private) static char _NANYOFUN
           
(package private) static char _NBOUND
           
(package private) static char _NDIGIT
           
(package private) static char _NOPCODE
           
(package private) static char _NOTHING
           
(package private) static char _NSPACE
           
(package private) static int _NULL_OFFSET
           
(package private) static char _NULL_POINTER
           
(package private) static char _ONECHAR
           
(package private) static char _OPCODE
           
(package private) static char _OPEN
           
(package private) static int[] _operandLength
           
(package private) static char[] _opLengthOne
           
(package private) static char[] _opLengthVaries
           
(package private) static char[] _opType
           
(package private) static char _PLUS
           
(package private) static char _PRINT
           
(package private) static char _PUNCT
           
(package private) static char _RANGE
           
(package private) static char _REF
           
(package private) static char _SANY
           
(package private) static char _SBOL
           
(package private) static char _SEOL
           
(package private) static char _SPACE
           
(package private) static char _STAR
           
(package private) static char _SUCCEED
           
(package private) static char _UNLESSM
           
(package private) static char _UPPER
           
(package private) static char _WHILEM
           
(package private) static char _XDIGIT
           
 
Constructor Summary
private OpCode()
           
 
Method Summary
(package private) static char _getArg1(char[] program, int offset)
           
(package private) static char _getArg2(char[] program, int offset)
           
(package private) static int _getNext(char[] program, int offset)
           
(package private) static int _getNextOffset(char[] program, int offset)
           
(package private) static int _getNextOperator(int offset)
           
(package private) static int _getOperand(int offset)
           
(package private) static int _getPrevOperator(int offset)
           
(package private) static boolean _isInArray(char ch, char[] array, int start)
           
(package private) static boolean _isWordCharacter(char token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_END

static final char _END
See Also:
Constant Field Values

_BOL

static final char _BOL
See Also:
Constant Field Values

_MBOL

static final char _MBOL
See Also:
Constant Field Values

_SBOL

static final char _SBOL
See Also:
Constant Field Values

_EOL

static final char _EOL
See Also:
Constant Field Values

_MEOL

static final char _MEOL
See Also:
Constant Field Values

_SEOL

static final char _SEOL
See Also:
Constant Field Values

_ANY

static final char _ANY
See Also:
Constant Field Values

_SANY

static final char _SANY
See Also:
Constant Field Values

_ANYOF

static final char _ANYOF
See Also:
Constant Field Values

_CURLY

static final char _CURLY
See Also:
Constant Field Values

_CURLYX

static final char _CURLYX
See Also:
Constant Field Values

_BRANCH

static final char _BRANCH
See Also:
Constant Field Values

_BACK

static final char _BACK
See Also:
Constant Field Values

_EXACTLY

static final char _EXACTLY
See Also:
Constant Field Values

_NOTHING

static final char _NOTHING
See Also:
Constant Field Values

_STAR

static final char _STAR
See Also:
Constant Field Values

_PLUS

static final char _PLUS
See Also:
Constant Field Values

_ALNUM

static final char _ALNUM
See Also:
Constant Field Values

_NALNUM

static final char _NALNUM
See Also:
Constant Field Values

_BOUND

static final char _BOUND
See Also:
Constant Field Values

_NBOUND

static final char _NBOUND
See Also:
Constant Field Values

_SPACE

static final char _SPACE
See Also:
Constant Field Values

_NSPACE

static final char _NSPACE
See Also:
Constant Field Values

_DIGIT

static final char _DIGIT
See Also:
Constant Field Values

_NDIGIT

static final char _NDIGIT
See Also:
Constant Field Values

_REF

static final char _REF
See Also:
Constant Field Values

_OPEN

static final char _OPEN
See Also:
Constant Field Values

_CLOSE

static final char _CLOSE
See Also:
Constant Field Values

_MINMOD

static final char _MINMOD
See Also:
Constant Field Values

_GBOL

static final char _GBOL
See Also:
Constant Field Values

_IFMATCH

static final char _IFMATCH
See Also:
Constant Field Values

_UNLESSM

static final char _UNLESSM
See Also:
Constant Field Values

_SUCCEED

static final char _SUCCEED
See Also:
Constant Field Values

_WHILEM

static final char _WHILEM
See Also:
Constant Field Values

_ANYOFUN

static final char _ANYOFUN
See Also:
Constant Field Values

_NANYOFUN

static final char _NANYOFUN
See Also:
Constant Field Values

_RANGE

static final char _RANGE
See Also:
Constant Field Values

_ALPHA

static final char _ALPHA
See Also:
Constant Field Values

_BLANK

static final char _BLANK
See Also:
Constant Field Values

_CNTRL

static final char _CNTRL
See Also:
Constant Field Values

_GRAPH

static final char _GRAPH
See Also:
Constant Field Values

_LOWER

static final char _LOWER
See Also:
Constant Field Values

_PRINT

static final char _PRINT
See Also:
Constant Field Values

_PUNCT

static final char _PUNCT
See Also:
Constant Field Values

_UPPER

static final char _UPPER
See Also:
Constant Field Values

_XDIGIT

static final char _XDIGIT
See Also:
Constant Field Values

_OPCODE

static final char _OPCODE
See Also:
Constant Field Values

_NOPCODE

static final char _NOPCODE
See Also:
Constant Field Values

_ONECHAR

static final char _ONECHAR
See Also:
Constant Field Values

_ALNUMC

static final char _ALNUMC
See Also:
Constant Field Values

_ASCII

static final char _ASCII
See Also:
Constant Field Values

_operandLength

static final int[] _operandLength

_opType

static final char[] _opType

_opLengthVaries

static final char[] _opLengthVaries

_opLengthOne

static final char[] _opLengthOne

_NULL_OFFSET

static final int _NULL_OFFSET
See Also:
Constant Field Values

_NULL_POINTER

static final char _NULL_POINTER
See Also:
Constant Field Values
Constructor Detail

OpCode

private OpCode()
Method Detail

_getNextOffset

static final int _getNextOffset(char[] program,
                                int offset)

_getArg1

static final char _getArg1(char[] program,
                           int offset)

_getArg2

static final char _getArg2(char[] program,
                           int offset)

_getOperand

static final int _getOperand(int offset)

_isInArray

static final boolean _isInArray(char ch,
                                char[] array,
                                int start)

_getNextOperator

static final int _getNextOperator(int offset)

_getPrevOperator

static final int _getPrevOperator(int offset)

_getNext

static final int _getNext(char[] program,
                          int offset)

_isWordCharacter

static final boolean _isWordCharacter(char token)