|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
true
if this Filter
accepts the supplied
InstructionContext
.
true
if this InstanceOfMVELFilter
notionally accepts the supplied InstructionContext
.
true
if the supplied item
is non-null
and has a Class
that compares properly with the Class
supplied at
construction time
.
InstructionContext
during
execution by making sure that it can be read from and that the
MVELFilter.accept(Object, Map)
method also returns true
.
true
if the execution of the MVEL expression
associated with this MVELFilter
returned an Object
equal to Boolean.TRUE
when evaluated against the supplied item
.
Instruction
at the end of this Program
.
Instruction
immediately after the
specified zero-based index.
Collection
of Instruction
s to
the end of this Program
.
Collection
of Instruction
s
immediately after the supplied index in this Program
.
true
if the
attempt was successful.
Thread
's item pointer, provided it was
valid to begin with.
Instruction
in the Program
.
true
if the last call to InstructionContext.read()
read the
last item in the input.
true
if this Thread
's input pointer is
equal to this Thread
's input size.
true
if the next call to InstructionContext.read()
will
read the first item in the input.
true
if this Thread
's item pointer is 0
(in the case of
there being input) or Thread.VALID_NO_INPUT_POINTER
(in the case
of there being null or empty
input).
Instruction
that advances the program
counter if and only if an InstructionContext
is
at the beginning of the
input.BeginInput
instruction.
true
if this ProgramCounter
can advance
its internal index by one.
true
if this InstructionContext
can
read an item in the input.
true
if this Thread
is viable, and has more items to read.
List
of items as captured by a Thread
.CaptureGroup
.
UnsupportedOperationException
when invoked.
null
clone of
this CaptureGroup
.
ProgramCounter
and returns the clone.
ProgramCounter
and then
sets a new index on it.
Thread
and
returns the clone.
Pattern
from the supplied source code.
InstructionContext
to become invalid.
Thread
to irrevocably enter the DEAD
state.
Instruction
that advances the program
counter if and only if an InstructionContext
is
at the end of the input.EndInput
instruction.
Program
s against List
s of input using Thread
s.Engine
.
true
if the supplied Object
is equal to
this CaptureGroup
.
true
if the supplied Object
is equal to
this InstanceOfMVELFilter
.
Object
is equal to this
Instruction
.
true
if the supplied Object
is equal to
this Jump
instruction.
true
if the supplied Object
is equal to
this MVELFilter
.
true
if the supplied Object
is equal to
this ProgramCounter
; false
otherwise
true
if the supplied Object
is equal to
this Split
instruction.
true
if the supplied Object
is equal to
this Thread
.
InstructionContext
is at the beginning of the input.
InstructionContext
is at
the end of the input.
InstructionContext
's program counter if and only
if the Filter.accept(InstructionContext)
method returns true
.
Instruction
in the context of the supplied
InstructionContext
.
InstructionContext.jump(int, boolean)
supplying it
with the values of the Jump.programLocation
field and the
Jump.relative
field respectively.
InstructionContext.match()
when invoked.
InstructionContext.save(Object)
and then InstructionContext.advanceProgramCounter()
.
InstructionContext.scheduleNewThread(int, boolean)
,
supplying it with the values of the Split.newThreadProgramLocation
and Split.relative
fields
respectively, and then calls Jump.execute(InstructionContext)
.
InstructionContext.stop(Object)
followed by InstructionContext.advanceProgramCounter()
.
Instruction
that advances an
InstructionContext
's program counter if the InstructionContext
can be
read from and produces an
Object
that is non-null
.Filter
.
Instruction
found at the supplied index
, or null
if there is no such Instruction
.
null
if no such value was ever
established.
Token
represents.
List
of items captured as a capture
group under the supplied key
.
List
of items captured under the supplied
Object
key.
MatchResult
.
CaptureGroup
s this Thread
is currently tracking.
Set
of Object
s representing valid
keys that can be used to capture
groups.
null
Set
of Object
s
representing the keys under which CaptureGroup
s are
indexed.
Thread
.
ProgramCounter
.
PostfixTokenizer
within its
associated PushbackReader
.
Matcher
is currently
affiliated.
Instruction
located at the current index, or null
if no such Instruction
was found.
null
unmodifiable
List
of the items this CaptureGroup
captured.
Logger
suitable for logging messages from this
Instruction
implementation.
null
Logger
for logging messages
from this class.
null
Logger
for logging messages
from this class.
Program
.
Pattern
with which this Matcher
is
currently affiliated.
Token
.
Token.Type
.
Thread
's associated ProgramCounter
.
Object
it was from which this Program
was compiled.
Thread.State
of this Thread
.
Thread
.
Token.Type
that defines this Token
.
Token
.
key
.
InstructionContext
's associated non-null
Map
of variables.
null
unmodifiable Map
of the variables set on the Thread
that this MatchResult
wraps.
null
Map
of variables associated
with this Thread
.
null
, unmodifiable Map
representing the variables set by this Matcher
during its
execution.
null
if
no such capture group was matched.
Matcher
.
CaptureGroup
.
InstanceOfMVELFilter
.
Instruction
.
Jump
instruction.
MVELFilter
.
ProgramCounter
.
Split
instruction.
Thread
.
ProgramCounter.canAdvance()
method.
true
if this PostfixTokenizer
has more
Token
s to iterate over.
true
if this Token.Type
has a value.
Object
, or -1
if the supplied Object
is null
or not contained
in this Program
.
MVELFilter
that conveniently checks the current item to see if it is an instance
of a specified Class
before applying further MVEL-based filters to it.InstanceOfMVELFilter
.
InstanceOfMVELFilter
.
InstanceOfMVELFilter.InstanceOfMVELFilter(Class, boolean, String)
constructor passing the supplied Class
, false
and
null
, thereby creating a new InstanceOfMVELFilter
.
InstanceOfMVELFilter.InstanceOfMVELFilter(Class, boolean, String)
constructor passing the supplied Class
, false
and
the supplied MVEL expression, thereby creating a new InstanceOfMVELFilter
.
InstanceOfMVELFilter
.
objexj
virtual machine.Instruction
.
Instruction
is executed.IllegalStateException
indicating that a ProgramCounter
was invalid.InvalidProgramCounterException
.
true
if Class
equality will be the
comparison test used against input Object
s.
true
if this Token
is an operator.
true
if this Token.Type
is an operator.
true
if this ProgramCounter
is valid.
true
if the ProgramCounter.isValid(Program, int)
method
returns true
when supplied with the current Program
and the supplied
index
.
true
if the supplied Program
and index
represent a valid combination.
true
if the supplied programCounter
is
valid—that is, greater than or equal to 0
and less
than the return value of the
size()
method.
true
if and only if this Thread
's
associated state is VIABLE
and if its associated ProgramCounter
's ProgramCounter.isValid()
method returns true
.
ProgramCounter
which is itself an Iterator
of Instruction
s.
InstructionContext
to the supplied programCounter
location.
Instruction
that causes an InstructionContext
to
jump to a new
location in a Program
.Jump
instruction.
Jump
instruction.
Jump
instruction.
Thread
's program counter to the supplied value,
provided it is valid.
Object
, or -1
if the supplied Object
is null
or not
contained in this Program
.
Class
.
true
if the underlying Thread
supplied at construction time has a
state of Thread.State.MATCH
.
true
if a prefix of this Matcher
's input matches this Matcher
's affiliated
Pattern.
Instruction
that causes an InstructionContext
to
be placed into the match
state.Match
instruction.
Thread
to irrevocably enter the MATCH
state.
Pattern
against a List
of
items (the input).Matcher
initialized to match the supplied
List
of items.
true
if the MatchResult.lookingAt()
method returns
true
and if the underlying Thread
was at the end of its input when the match occurred.
true
if this Matcher
matches the entire
input against its affiliated
Pattern.
Thread
that has successfully matched its input.MVELFilter.accept(Object, Map)
method.
Filter
that implements its MVELFilter.accept(InstructionContext)
method by running a user-supplied MVEL script against the InstructionContext
's current
Object
.MVELFilter
.
MVELFilter
.
Thread
and returns it.
Thread
and returns it.
Thread
and returns it.
Thread
spawned by this
Split
instruction.
ProgramCounter.advance()
method, and if it returns true
, returns the result of calling the ProgramCounter.getInstruction()
method.
Token
lexed from this PostfixTokenizer
's underlying Reader
.
PostfixTokenizer
and associated Reader
machinery and then calls the parse(PostfixTokenizer)
method and returns its result.
Token
s from the supplied PostfixTokenizer
and parses them into a Program
.
Token
s from a PostfixTokenizer
.Parser
.
Object
s.ParsePosition
and an Iterator
of Token
s
that converts a PushbackReader
of a textual objexj pattern
into a series of Token
s in postfix order.PostfixTokenizer
.
LinkedList
of Instruction
s that can be
run by an Engine
via
a Thread
.Program
.
Program
.
Program
.
Program
and an index into that Program
, and hence also an Iterator
and Iterable
of Instruction
s.ProgramCounter
.
ProgramCounter
.
ProgramCounter
.
Program
that an InstructionContext
should jump to.
Jump.programLocation
field is to be
interpreted relative to the current program location.
Jump.programLocation
and Split.newThreadProgramLocation
fields are relative to an InstructionContext
's current program location.
UnsupportedOperationException
when invoked.
UnsupportedOperationException
when invoked.
UnsupportedOperationException
when invoked.
UnsupportedOperationException
when invoked.
UnsupportedOperationException
when invoked.
UnsupportedOperationException
when invoked.
Program
against the supplied List
and returns a (possibly null
) MatchResult
describing the run result.
Thread.step()
method until this Thread
has completed execution.
Instruction
that saves the current item pointer in an
InstructionContext
so that later a capture group may be
identified.Save
instruction.
Save
instruction.
Thread
for execution.
Thread
for execution immediately
or later.
Thread
and schedules it for execution
beginning at the supplied programCounterIndex
.
UnsupportedOperationException
when invoked.
CaptureGroup
will capture.
Thread
.
ProgramCounter
to the
supplied index
, provided that it is valid.
PostfixTokenizer
within its
associated PushbackReader
.
Program
.
Program
was compiled,
provided that this Program
has not yet had its source
set.
Token
.
Program
that contains only the supplied
Instruction
.
Jump
instruction that also schedules a new
Thread
for execution at a different program location.Split
instruction.
Split
instruction.
Split
instruction.
Instruction
and executes it, passing it
an InstructionContext
that effectively represents this
Thread
in a safe manner to be manipulated by the Instruction
in question.
Instruction
that stops saving a capture group by calling
InstructionContext.stop(Object)
followed by InstructionContext.advanceProgramCounter()
.Stop
instruction.
Stop
instruction.
Instruction
s from a regular
expression Program
.Thread
without any CaptureGroup
s or
variables.
Thread
.
enum
representing the possible states a Thread
can be in.Thread
s.PostfixTokenizer
during the lexing
phase of processing a textual objexj pattern representation.Token
.
Token
.
Token
.
Token
may have.null
String
representation of this
CaptureGroup
.
null
String
representation of this
InstanceOfMVELFilter
.
null
String
representation of this
Instruction
.
null
String
representation of this
Jump
instruction.
null
String
representation of this
MVELFilter
.
null
textual representation of this Program
.
null
String
representation of this
ProgramCounter
.
null
String
representation of this
Save
instruction.
null
String
representation of this
Split
instruction.
null
String
representation of this
Stop
instruction.
null
String
representation of this
Thread
.
null
String
representation of this
PostfixTokenizer
.
null
String
representation of this
Token
.
null
String
representation of this
Pattern
.
Thread
's item pointer, provided that there is no
input to read from.
line
and returns a new Instruction
instance appropriate for this input.
Program
parsed from the supplied
File
.
Program
parsed from the supplied
BufferedReader
.
Program
parsed from the supplied
text
.
Program
parsed from the supplied
Iterable
of Instruction
lines in source form.
Program
parsed from the supplied
Iterator
of Instruction
lines in source form.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |