Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Field Summary

Fields inherited from class com.novell.xsl.extensions.JavaMember
`classBoolean, classNumber, classString, interfaceExpressionValue, interfaceNode`

Constructor Summary
`JavaConstructor(FunctionSignature signature, Constructor[] constructors)` Construct a placeholder for a java class's constructors.

Method Summary
`Function` | `getInstance(ArgumentList args)` Return an instance of the class constructor that matches the passed argument list.

Methods inherited from class com.novell.xsl.extensions.JavaMember
`weightParam`

Methods inherited from class com.novell.xml.xpath.Function
`getSignature, invoke, isConstant, registerForReset`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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().

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD