public class NestedBasicPropertyIA extends ImplicitAction
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
context
Constructor and Description |
---|
NestedBasicPropertyIA() |
Modifier and Type | Method and Description |
---|---|
void |
begin(InterpretationContext ec,
String localName,
Attributes attributes)
Called when the parser encounters an element matching a
Pattern . |
void |
body(InterpretationContext ec,
String body)
Called to pass the body (as text) contained within an element.
|
void |
end(InterpretationContext ec,
String tagName) |
boolean |
isApplicable(ElementPath elementPath,
Attributes attributes,
InterpretationContext ec)
Check whether this implicit action is appropriate in the current context.
|
getColumnNumber, getLineColStr, getLineNumber, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public boolean isApplicable(ElementPath elementPath, Attributes attributes, InterpretationContext ec)
ImplicitAction
isApplicable
in class ImplicitAction
elementPath
- This pattern contains the tag name of the current
element being parsed at the top of the stack.attributes
- The attributes of the current element to process.ec
- interpretation contextpublic void begin(InterpretationContext ec, String localName, Attributes attributes)
Action
Pattern
.public void body(InterpretationContext ec, String body)
Action
public void end(InterpretationContext ec, String tagName)
Copyright © 2005–2014 QOS.ch. All rights reserved.