Package | Description |
---|---|
monq.jfa.ctx |
adds support for recursive parsing to jfa that in particular
allows easy XML parsing as an alternative to SAX.
|
Modifier and Type | Field and Description |
---|---|
static Context |
ContextManager.anyContext |
Modifier and Type | Method and Description |
---|---|
Context |
ContextManager.add(Context parent,
java.lang.String reIn,
java.lang.String reOut)
adds a new context to the client
Nfa . |
Context |
ContextManager.add(java.lang.String reIn,
java.lang.String reOut)
calls
ContextManager.add(Context,String,String) such that the
context is entered in any parent context. |
Context |
ContextManager.addXml()
calls
ContextManager.add(Context,String,String) such that
reIn and reOut match the start and end
of any XML element. |
Context |
ContextManager.addXml(Context parent,
java.lang.String tagname)
calls
add(parent,reIn,reOut) such that reIn and
reOut match the start and end of the XML element
with the given tagname . |
Context[] |
ContextManager.addXml(Context parent,
java.lang.String[] tagnames)
creates a nested hierarchy of contexts defined by the XML
tagnames given.
|
Context |
ContextManager.addXml(java.lang.String tagname)
calls
ContextManager.add(Context,String,String)
such that reIn and reOut match the
start and end of the XML element with the given
tagname . |
Context |
Context.setEndAction(FaAction a)
specifies the action which takes
care of the text marking the end of the context.
|
Context |
Context.setFMB(DfaRun.FailedMatchBehaviour fmb)
specifies how the
DfaRun should handle
non-matching text within the context. |
Context |
Context.setName(java.lang.String s)
sets the name of this object, which is currently only used to
have
toString() return something useful. |
Context |
Context.setPopPriority(int p)
this method is not implemented and will always throw an
exception.
|
Context |
Context.setStartAction(FaAction a)
specifies the action which shall take
care of the text marking the start of the context.
|
Modifier and Type | Method and Description |
---|---|
Context |
ContextManager.add(Context parent,
java.lang.String reIn,
java.lang.String reOut)
adds a new context to the client
Nfa . |
Context |
ContextManager.addXml(Context parent,
java.lang.String tagname)
calls
add(parent,reIn,reOut) such that reIn and
reOut match the start and end of the XML element
with the given tagname . |
Context[] |
ContextManager.addXml(Context parent,
java.lang.String[] tagnames)
creates a nested hierarchy of contexts defined by the XML
tagnames given.
|
IfContext |
IfContext.ifthen(Context ctx,
FaAction a)
defines to call the given action when this object's invoke method
is called in the given context.
|
Constructor and Description |
---|
IfContext(Context ctx,
FaAction a)
creates an
FaAction to run the given client action if
called in the given Context . |