Interface ContextAware

All Superinterfaces:
LocationAware
All Known Subinterfaces:
ContextAwareExceptionWrapper
All Known Implementing Classes:
ContextAwareELException, ContextAwareException, ContextAwareMethodNotFoundException, ContextAwarePropertyNotFoundException, ContextAwarePropertyNotWritableException, ContextAwareTagMethodExpression, ContextAwareTagValueExpression, DefaultContextAwareELException

public interface ContextAware extends LocationAware
Identification inferface for types that know about Location and XML attribute name/value pair.
  1. Location - location instance - see LocationAware
  2. expressionString - expression String Expression.getExpressionString()
  3. qName - the qualified name for attribute TagAttribute.getQName()
If type implements this interface, we can say that it knows where instance implementing this interface is located in facelets view (line/column) and what XML attribute (name/value pair) makes it.
Author:
martinkoci
  • Method Details

    • getExpressionString

      String getExpressionString()
      Returns:
      expression string, for example "#{bean.actionMethod}" or "success"
    • getQName

      String getQName()
      Returns:
      qName of XML attribute, for example "action" or "value"