Class NestedBasicPropertyIA

All Implemented Interfaces:
ContextAware

public class NestedBasicPropertyIA extends ImplicitAction
This action is responsible for tying together a parent object with one of its simple properties specified as an element but for which there is no explicit rule.
Author:
Ceki Gülcü
  • Constructor Details

  • Method Details

    • isApplicable

      public boolean isApplicable(ElementPath elementPath, Attributes attributes, InterpretationContext ec)
      Description copied from class: ImplicitAction
      Check whether this implicit action is appropriate in the current context.
      Specified by:
      isApplicable in class ImplicitAction
      Parameters:
      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 -
      Returns:
      Whether the implicit action is applicable in the current context
    • begin

      public void begin(InterpretationContext ec, String localName, Attributes attributes)
      Description copied from class: Action
      Called when the parser encounters an element matching a Pattern.
      Specified by:
      begin in class Action
    • body

      public void body(InterpretationContext ec, String body)
      Description copied from class: Action
      Called to pass the body (as text) contained within an element.
      Overrides:
      body in class Action
      Parameters:
      ec -
      body -
    • end

      public void end(InterpretationContext ec, String tagName)
      Specified by:
      end in class Action