| Modifier and Type | Field and Description |
|---|---|
protected static String |
END_BLOC_JSP
END_BLOC_JSP.
|
protected static String |
FIELD_PATH_CALL
FIELD_PATH_CALL.
|
protected static String |
FIELD_PATH_CALL_EQUALS_CONDITION
FIELD_PATH_CALL_CONDITIONAL.
|
protected static String |
START_BLOC_JSP
JSP start bloc.
|
| Constructor and Description |
|---|
TagObject() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCallForBooleanFieldPath(String fieldPath,
String currentVariableName)
Ajouter l'appel de la methode getBooleanValue sur un fieldPath.
|
protected String |
getCallForCollectionFieldPath(String fieldPath,
String currentVariableName)
Ajouter l'appel de la methode getNodes sur un fieldPath.
|
protected String |
getCallForEqualsBooleanFieldPath(String fieldPath,
String value,
String currentVariableName)
Ajouter du test equals d'un fieldPath et d'une valeur fixe du modèle.
|
protected String |
getCallForFieldPath(String fieldPath,
String currentVariableName)
Ajouter l'appel de la methode getStringValue sur un fieldPath.
|
protected String |
getCallForObjectFieldPath(String fieldPath,
String currentVariableName)
Ajouter l'appel de la methode getNode sur un fieldPath.
|
protected Class<?> |
getDataAccessorClass() |
protected String |
getTagRepresentation(String tagRepresentation,
String[] datas)
Injecte les données dans la chaine de caractere de rendu d'un tag.
|
protected String[] |
parseAttribute(String attribute,
String regEexpFormat)
Permet de vérifier le format d'un attribut de tag et de le parser.
|
String |
renderClose(ScriptTagContent content,
ScriptContext context) |
String |
renderOpen(ScriptTagContent tag,
ScriptContext context) |
protected static final String START_BLOC_JSP
protected static final String END_BLOC_JSP
protected static final String FIELD_PATH_CALL
protected static final String FIELD_PATH_CALL_EQUALS_CONDITION
public String renderOpen(ScriptTagContent tag, ScriptContext context)
renderOpen in interface ScriptTagtag - tag évaluécontext - Context d'évaluationpublic String renderClose(ScriptTagContent content, ScriptContext context)
renderClose in interface ScriptTagcontent - tag évaluécontext - Context d'évaluationprotected final String getCallForFieldPath(String fieldPath, String currentVariableName)
fieldPath - fieldPath du champ recherchécurrentVariableName - nom de la variable local couranteprotected final String getCallForBooleanFieldPath(String fieldPath, String currentVariableName)
fieldPath - fieldPath du champ recherchécurrentVariableName - nom de la variable local couranteprotected final String getCallForEqualsBooleanFieldPath(String fieldPath, String value, String currentVariableName)
fieldPath - Chemin du champ.value - Valeur à tester.currentVariableName - Nom de la variable couranteprotected final String getCallForCollectionFieldPath(String fieldPath, String currentVariableName)
fieldPath - Chemin du champ.currentVariableName - Nom de la variable couranteprotected final String getCallForObjectFieldPath(String fieldPath, String currentVariableName)
fieldPath - Chemin du champ.currentVariableName - Nom de la variable couranteprotected final Class<?> getDataAccessorClass()
protected final String getTagRepresentation(String tagRepresentation, String[] datas)
tagRepresentation - la chaine represantant un tag donnédatas - Données sous forme de chaines de caractereprotected final String[] parseAttribute(String attribute, String regEexpFormat)
attribute - l'attribut d'un tagregEexpFormat - le format dans lequel il doit etre ecritCopyright © 2014. All Rights Reserved.