|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used during the compilation of a template.
Method Summary | |
void |
applyStyleSheet(java.io.Reader styleSheetInformation)
This method will be called by the compilation mechanism if its recognizes style sheet information in the template. |
nextapp.echo.Component |
getComponent(java.lang.String componentName)
Gets the Component with the specified contraint name |
PropertyManager |
getPropertyManager(java.lang.Class componentClazz)
Returns a PropertyManager for a given Component class. |
java.lang.Object |
getStateAttribute(java.lang.Object key)
Returns any state object that has been prevously set into the compilation context, or null if the state key cannot be found. |
boolean |
isComponentPropertiesSet()
Returns true if the Component properties have already been set for the template |
boolean |
isLoudErrorsUsed()
This returns true if "loud" error messages are to be used during template compilation. |
boolean |
isPropertiesUsed()
Returns true if the Component properties will be set from the template tag attributes. |
void |
setComponentPropertiesSet(boolean flag)
Called to set whether the Component properties have been set for the given template. |
void |
setPropertiesUsed(boolean flag)
Sets whether the Component properties will be set from the template tag attributes. |
void |
setStateAttribute(java.lang.Object key,
java.lang.Object value)
Called to set some "arbitary" state attribute. |
Method Detail |
public nextapp.echo.Component getComponent(java.lang.String componentName)
public PropertyManager getPropertyManager(java.lang.Class componentClazz)
public boolean isComponentPropertiesSet()
public void setComponentPropertiesSet(boolean flag)
public boolean isPropertiesUsed()
public void setPropertiesUsed(boolean flag)
public boolean isLoudErrorsUsed()
public void setStateAttribute(java.lang.Object key, java.lang.Object value)
key
- - the key of the statevalue
- - the value of the statepublic java.lang.Object getStateAttribute(java.lang.Object key)
key
- - the key of the state
public void applyStyleSheet(java.io.Reader styleSheetInformation) throws java.lang.Exception
The implementor can then apply the style sheet information in any way it sees fit.
styleSheetInformation
- - a reader contain the style sheet information
StyleSheetParseException
- because it could be a problem
java.lang.Exception
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |