Author: mvitenkov
Date: 2008-10-28 11:50:33 -0400 (Tue, 28 Oct 2008)
New Revision: 10949
Modified:
trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java 2008-10-28
15:49:19 UTC (rev 10948)
+++ trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java 2008-10-28
15:50:33 UTC (rev 10949)
@@ -121,70 +121,5 @@
e.printStackTrace();
}
return richfacesUI;
- }
- /*
- public ArrayList<String> getNamesArray(){
- ArrayList<String> result = new ArrayList<String>();
- for(Attribute attr:allAttributes){
- result.add(attr.getName());
- }
- return result;
- }
-
- public ArrayList<String> getDescriptionArray(){
- ArrayList<String> result = new ArrayList<String>();
- for(Attribute attr:allAttributes){
- result.add(attr.getDescription());
- }
- return result;
- }
-
- public ArrayList<String> getTypeArray(){
- ArrayList<String> result = new ArrayList<String>();
- for(Attribute attr:allAttributes){
- result.add(attr.getType());
- }
- return result;
- }
-
- public ArrayList<Status> getStatusArray(){
- ArrayList<Status> result = new ArrayList<Status>();
- for(Attribute attr:allAttributes){
- result.add(attr.getStatus());
- }
- return result;
- }
-
- public ArrayList<String> getHandlers(){
- ArrayList<String> attributes = this.getNamesArray();
- ArrayList<String> result = new ArrayList<String>();
- for(String str:attributes){
- if (str.startsWith("on")) {
- result.add(str);
- }
- }
- return result;
- }
-
- public ArrayList<String> getStyles(){
- ArrayList<String> attributes = this.getNamesArray();
- ArrayList<String> result = new ArrayList<String>();
- for(String str:attributes){
- if (str.indexOf("tyle") != -1 || str.indexOf("lass") != -1) {
- result.add(str);
- }
- }
- return result;
- }
-
- public ArrayList<String> getCommonAttributes(){
- ArrayList<String> attributes = this.getNamesArray();
- ArrayList<String> result = new ArrayList<String>();
- for(String str:attributes){
- if(!(str.startsWith("on") || (str.indexOf("tyle") != -1) ||
(str.indexOf("lass") != -1))){
- result.add(str);
- }
- }
- return result;
- }*/
+ }
}
Show replies by date