1 23 24 28 29 package com.sun.enterprise.tools.common.validation; 30 31 import java.lang.reflect.Method ; 32 import java.util.ArrayList ; 33 import java.util.Collection ; 34 import java.util.HashMap ; 35 36 37 77 public interface Validatee { 78 89 90 97 public ArrayList getElementNames(); 98 99 100 107 public ArrayList getElementDtdNames(); 108 109 110 115 public boolean isIndexed(String elementName); 116 117 118 125 public int getElementCardinal(String elementName); 126 127 128 135 public int getCardinal(); 136 137 138 144 public boolean isBeanElement(String elementName); 145 146 147 153 public String getXPath(); 154 155 156 163 public String getIndexedXPath(); 164 165 166 171 public Object getElement(String elementName); 172 173 174 181 public Object getElement(String elementName, int index); 182 183 184 189 public Object [] getElements(String elementName); 190 191 192 199 public Method getMethod(String methodName); 200 201 202 207 public Object invoke(Method method); 208 } 209 | Popular Tags |