|
@@ -372,8 +372,8 @@ public class TaskTagsHandler extends XDocletTagSupport |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (instance != null && instance instanceof EnumeratedAttribute) { |
|
|
if (instance != null && instance instanceof EnumeratedAttribute) { |
|
|
EnumeratedAttribute enum = (EnumeratedAttribute) instance; |
|
|
|
|
|
String[] values = enum.getValues(); |
|
|
|
|
|
|
|
|
EnumeratedAttribute enum1 = (EnumeratedAttribute) instance; |
|
|
|
|
|
String[] values = enum1.getValues(); |
|
|
|
|
|
|
|
|
display = ""; |
|
|
display = ""; |
|
|
for (int i = 0; i < values.length; i++) { |
|
|
for (int i = 0; i < values.length; i++) { |
|
@@ -538,11 +538,11 @@ public class TaskTagsHandler extends XDocletTagSupport |
|
|
|
|
|
|
|
|
// Regroup the attributes, since IntrospectionHelper |
|
|
// Regroup the attributes, since IntrospectionHelper |
|
|
// doesn't give us the whole data structure directly |
|
|
// doesn't give us the whole data structure directly |
|
|
Enumeration enum = is.getAttributes(); |
|
|
|
|
|
|
|
|
Enumeration enum2 = is.getAttributes(); |
|
|
Properties attributeTypeMap = new Properties(); |
|
|
Properties attributeTypeMap = new Properties(); |
|
|
|
|
|
|
|
|
while (enum.hasMoreElements()) { |
|
|
|
|
|
String name = (String) enum.nextElement(); |
|
|
|
|
|
|
|
|
while (enum2.hasMoreElements()) { |
|
|
|
|
|
String name = (String) enum2.nextElement(); |
|
|
Class type = is.getAttributeType(name); |
|
|
Class type = is.getAttributeType(name); |
|
|
|
|
|
|
|
|
attributeTypeMap.setProperty(name, type.getName()); |
|
|
attributeTypeMap.setProperty(name, type.getName()); |
|
@@ -625,11 +625,11 @@ public class TaskTagsHandler extends XDocletTagSupport |
|
|
|
|
|
|
|
|
// Regroup the elements, since IntrospectionHelper |
|
|
// Regroup the elements, since IntrospectionHelper |
|
|
// doesn't give us the whole data structure directly |
|
|
// doesn't give us the whole data structure directly |
|
|
Enumeration enum = is.getNestedElements(); |
|
|
|
|
|
|
|
|
Enumeration enum3 = is.getNestedElements(); |
|
|
Properties elementTypeMap = new Properties(); |
|
|
Properties elementTypeMap = new Properties(); |
|
|
|
|
|
|
|
|
while (enum.hasMoreElements()) { |
|
|
|
|
|
String name = (String) enum.nextElement(); |
|
|
|
|
|
|
|
|
while (enum3.hasMoreElements()) { |
|
|
|
|
|
String name = (String) enum3.nextElement(); |
|
|
Class type = is.getElementType(name); |
|
|
Class type = is.getElementType(name); |
|
|
|
|
|
|
|
|
elementTypeMap.setProperty(name, type.getName()); |
|
|
elementTypeMap.setProperty(name, type.getName()); |
|
|