javax.servlet.jsp.tagext
Class TagData
- Cloneable
Tag instance attributes and values. This information is used by
TagExtraInfo to prepare VariableInfo.
TagData(Object[][] attrs)- Create a new TagData object based on and array of attribute key/values.
|
TagData(Hashtable<K,V> attrs)- Create a new TagData object based on an attribute key/value hash table.
|
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait |
View More Examples of getAttribute(String attribute)
1:
2: import ;
3: import ;
4: ...
5:
6: public boolean isValid(TagData data)
7: {
8: ...
9: try {
10: Object from = data.getAttribute("from");
11: if(null != from && from instanceof String) {
12: ...
13:
14: Object to = data.getAttribute("to");
View Full Code Here
1: import ;
2: import ;
3:
4: ...
5:
6: public VariableInfo[] getVariableInfo(TagData tagData) {
7: String var = tagData.getAttributeString("var");
8: ...
9: return new VariableInfo[] {
10: new VariableInfo((String)tagData.getAttribute("var"),
11: "java.lang.String",
View Full Code Here
1:
2: public static boolean isSpecified(TagData data, String attributeName) {
3: ...
4: return (data.getAttribute(attributeName) != null);
5: }
6:
7: }
View Full Code Here
1:
2: import ;
3: import ;
4: ...
5:
6: public static boolean isSpecified(TagData data, String attributeName) {
7:
8: ...
9: return (data.getAttribute(attributeName) != null);
10: }
11: ...
12:
13: public boolean isValid(TagData data) {
View Full Code Here
1:
2: import ;
3: import ;
4: ...
5:
6: public static boolean isSpecified(TagData data, String attributeName) {
7: ...
8: return (data.getAttribute(attributeName) != null);
9: }
10: ...
11:
12: public boolean isValid(TagData data) {
View Full Code Here
View More Examples of getAttributeString(String name)
1: public class XPathForEachNodeTei extends TagExtraInfo {
2: public VariableInfo[] getVariableInfo(TagData data) {
3: return new VariableInfo[]{
4: ...
5: new VariableInfo(data.getAttributeString("id"),
6: "com.wrox.projsp.ch11.jsp.XPathForEachNodeTag",
7: true,
8: VariableInfo.NESTED)};
View Full Code Here
1: public IterateTei() {}
2: public VariableInfo[] getVariableInfo(TagData data)
3: {
4: ...
5: new VariableInfo(
6: data.getAttributeString("name"),
7: ...
8: data.getAttributeString("type"),
9: true,
View Full Code Here
1: public class DefinicePromTEI extends TagExtraInfo {
2: public VariableInfo[] getVariableInfo(TagData data) {
3: VariableInfo info1
4: ...
5: = new VariableInfo(data.getAttributeString("nazev"),
6: ...
7: data.getAttributeString("typ"),
8: true,
View Full Code Here
getId
public String getId()
Return the id of the attribute as a string.
View More Examples of getId()
1:
2: public VariableInfo[] getVariableInfo(TagData data)
3: {
4: ...
5: {
6: new VariableInfo(data.getId(),
7: "com.hellking.study.ejb.Customer",
8: true,
9: VariableInfo.AT_BEGIN)
View Full Code Here
1: {
2: public VariableInfo[] getVariableInfo(TagData data)
3: {
4: ...
5: {
6: new VariableInfo(data.getId(),
7: (String)data.getAttribute("type"),
8: true,
9: VariableInfo.AT_BEGIN)
View Full Code Here
1: {
2: public VariableInfo[] getVariableInfo(TagData data)
3: {
4: ...
5: {
6: new VariableInfo(data.getId(),
7: (String)data.getAttribute("type"),
8: true,
9: VariableInfo.NESTED)
View Full Code Here
1: public class QueryExtraInfo extends TagExtraInfo {
2: public VariableInfo[] getVariableInfo(TagData data) {
3:
4: ...
5: return new VariableInfo[] {
6: new VariableInfo(data.getId(),
7: "java.sql.ResultSet",
8: true,
9: VariableInfo.NESTED) };
View Full Code Here