Class LabelRefState

All Implemented Interfaces:
ContentHandler
Direct Known Subclasses:
ElementRefState, HedgeRefState

abstract class LabelRefState extends ExpressionWithoutChildState
base implementation of HedgeRefState and ElementRefState. this class resolves namespace attribute and label attribute into the actual ReferenceExp object.
  • Constructor Details

    • LabelRefState

      LabelRefState()
  • Method Details

    • makeExpression

      protected Expression makeExpression()
      Description copied from class: ExpressionState
      This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.
      Specified by:
      makeExpression in class ExpressionState
    • resolve

      protected abstract Expression resolve(String namespace, String label)
      gets or creates appropriate reference