FileDocCategorySizeDatePackage
FunctionDescriptor.javaAPI DocGlassfish v2 API3029Fri May 04 22:34:18 BST 2007com.sun.enterprise.tools.verifier.web

FunctionDescriptor

public class FunctionDescriptor extends Object
author
Sudipto Ghosh

Fields Summary
Node
node
Constructors Summary
public FunctionDescriptor(Node n)

        this.node = n;
    
Methods Summary
public java.lang.StringgetFunctionClass()

        NodeList n1 = node.getChildNodes();
        int i = 0;
        String className = null;
        for (int k = 0; k < n1.getLength(); k++) {
            String name = n1.item(k).getNodeName();
            if (name == "function-class") { // NOI18N
                className = n1.item(k).getFirstChild().getNodeValue();
            }
        }
        return className;
    
public java.lang.StringgetFunctionSignature()

        NodeList n1 = node.getChildNodes();
        int i = 0;
        String signature = null;
        for (int k = 0; k < n1.getLength(); k++) {
            String name = n1.item(k).getNodeName();
            if (name == "function-signature") // NOI18N
                signature = n1.item(k).getFirstChild().getNodeValue();
        }
        return signature;