|
@@ -283,6 +283,7 @@ public class MacroDef extends AntlibDefinition { |
|
|
public static class Attribute { |
|
|
public static class Attribute { |
|
|
private String name; |
|
|
private String name; |
|
|
private String defaultValue; |
|
|
private String defaultValue; |
|
|
|
|
|
private String description; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* The name of the attribute. |
|
|
* The name of the attribute. |
|
@@ -321,6 +322,21 @@ public class MacroDef extends AntlibDefinition { |
|
|
return defaultValue; |
|
|
return defaultValue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @param desc Description of the element. |
|
|
|
|
|
*/ |
|
|
|
|
|
public void setDescription(String desc) { |
|
|
|
|
|
description = desc; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @return the description of the element, or <code>null</code> if |
|
|
|
|
|
* no description is available. |
|
|
|
|
|
*/ |
|
|
|
|
|
public String getDescription() { |
|
|
|
|
|
return description; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* equality method |
|
|
* equality method |
|
|
* |
|
|
* |
|
@@ -367,6 +383,8 @@ public class MacroDef extends AntlibDefinition { |
|
|
public static class TemplateElement { |
|
|
public static class TemplateElement { |
|
|
private String name; |
|
|
private String name; |
|
|
private boolean optional = false; |
|
|
private boolean optional = false; |
|
|
|
|
|
private String description; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* The name of the element. |
|
|
* The name of the element. |
|
|
* |
|
|
* |
|
@@ -404,6 +422,21 @@ public class MacroDef extends AntlibDefinition { |
|
|
return optional; |
|
|
return optional; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @param desc Description of the element. |
|
|
|
|
|
*/ |
|
|
|
|
|
public void setDescription(String desc) { |
|
|
|
|
|
description = desc; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @return the description of the element, or <code>null</code> if |
|
|
|
|
|
* no description is available. |
|
|
|
|
|
*/ |
|
|
|
|
|
public String getDescription() { |
|
|
|
|
|
return description; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* equality method |
|
|
* equality method |
|
|
* |
|
|
* |
|
|