Class Interpreter
DefaultHandler which invokes
various actions according to predefined patterns.
Patterns are kept in a RuleStore which is programmed to store and
then later produce the applicable actions for a given pattern.
The pattern corresponding to a top level <a> element is the string
The pattern corresponding to an element <b> embedded within a top level
<a> element is the string
The pattern corresponding to an <b> and any level of nesting is "*/b. Thus, the * character placed at the beginning of a pattern serves as a wildcard for the level of nesting. Conceptually, this is very similar to the API of commons-digester. Joran offers several small advantages. First and foremost, it offers support for implicit actions which result in a significant leap in flexibility. Second, in our opinion better error reporting capability. Third, it is self-reliant. It does not depend on other APIs, in particular commons-logging which is too unreliable. Last but not least, Joran is quite tiny and is expected to remain so.
-
Constructor Summary
ConstructorsConstructorDescriptionInterpreter(Context context, RuleStore rs, ElementPath initialElementPath) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidcharacters(BodyEvent be) Deprecated.voidendElement(EndEvent endEvent) Deprecated.Deprecated.Deprecated.replaced bygetInterpretationContext()Deprecated.Deprecated.Deprecated.voidDeprecated.voidsetInterpretationContextPropertiesMap(Map<String, String> propertiesMap) Deprecated.voidDeprecated.voidDeprecated.
-
Constructor Details
-
Interpreter
Deprecated.
-
-
Method Details
-
getEventPlayer
Deprecated. -
setInterpretationContextPropertiesMap
Deprecated. -
getExecutionContext
Deprecated.replaced bygetInterpretationContext() -
getInterpretationContext
Deprecated. -
startDocument
public void startDocument()Deprecated. -
startElement
Deprecated. -
characters
Deprecated. -
endElement
Deprecated. -
getLocator
Deprecated. -
setDocumentLocator
Deprecated. -
addImplicitAction
Deprecated. -
getRuleStore
Deprecated.
-