Methods Summary |
---|
public com.sun.enterprise.tools.verifier.web.FunctionDescriptor[] | getFunctionDescriptors()for each functions in tag lib descriptor creates a function descritor and
return the array of FunctionDescriptors
NodeList nl = doc.getElementsByTagName(FUNCTION);
List<FunctionDescriptor> list = new ArrayList<FunctionDescriptor>();
if (nl != null) {
int size = nl.getLength();
for (int i = 0; i < size; i++) {
list.add(new FunctionDescriptor(nl.item(i)));
}
}
return list.toArray(new FunctionDescriptor[0]);
|
public java.lang.String[] | getListenerClasses()
NodeList nl = doc.getElementsByTagName(LISTENER_CLASS);
String[] classes = null;
if (nl != null) {
int size = nl.getLength();
classes = new String[size];
for (int i = 0; i < size; i++) {
classes[i] = nl.item(i).getFirstChild().getNodeValue();
}
}
return classes;
|
public java.lang.String | getPublicID()
DocumentType docType = doc.getDoctype();
return ((docType == null) ? null : docType.getPublicId());
|
public java.lang.String | getSpecVersion()
return this.version;
|
public java.lang.String | getSystemID()
DocumentType docType = doc.getDoctype();
return ((docType == null) ? null : docType.getSystemId());
|
public com.sun.enterprise.tools.verifier.web.TagDescriptor[] | getTagDescriptors()for each tag in the tag lib descriptor create a TagDescriptor and return
the array of TagDescriptors present in the tag lib.
NodeList nl = doc.getElementsByTagName(TAG);
TagDescriptor[] tagdescriptor = null;
if (nl != null) {
int size = nl.getLength();
tagdescriptor = new TagDescriptor[size];
for (int i = 0; i < size; i++) {
tagdescriptor[i] = new TagDescriptor(nl.item(i));
}
}
return tagdescriptor;
|
public java.lang.String | getUri()
return this.uri;
|