org.apache.myfaces.view.facelets.el
Interface ContextAware

All Superinterfaces:
LocationAware
All Known Subinterfaces:
ContextAwareExceptionWrapper
All Known Implementing Classes:
ContextAwareELException, ContextAwareException, ContextAwareMethodNotFoundException, ContextAwarePropertyNotFoundException, ContextAwarePropertyNotWritableException, ContextAwareTagMethodExpression, ContextAwareTagValueExpression, ContextAwareTagValueExpressionUEL, 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 Summary
 String getExpressionString()
           
 String getQName()
           
 
Methods inherited from interface org.apache.myfaces.view.facelets.el.LocationAware
getLocation
 

Method Detail

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"


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.