com.novell.xsl.extensions
Class JavaConstructor
java.lang.Object
com.novell.xml.xpath.Function
com.novell.xsl.extensions.JavaMember
com.novell.xsl.extensions.JavaConstructor
- public class JavaConstructor
- extends JavaMember
This class represents all the constructors for a particulara java class member with a particular
java Class. This class is only used during the parsing stage. The
getInstance() member returns the actual JavaConstructorInstance object
that is used by the FunctionCall object in the Expression.
- See Also:
JavaConstructorInstance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaConstructor
public JavaConstructor(FunctionSignature signature,
Constructor[] constructors)
- Construct a placeholder for a java class's constructors.
- Parameters:
signature
- The signature for the class. This only needs to have the
return type and name.constructors
- The array of class constructors returns by class.getConstructors().
getInstance
public Function getInstance(ArgumentList args)
throws XPathParserException
- Return an instance of the class constructor that matches
the passed argument list.
- Overrides:
getInstance
in class Function
- Parameters:
args
- The argument list
- Throws:
XPathParserException