Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.functions

public Class FuncConcat

extends FunctionMultiArgs
Class Inheritance
Imports
com.sun.org.apache.xalan.internal.res.XSLMessages, com.sun.org.apache.xpath.internal.XPathContext, com.sun.org.apache.xpath.internal.objects.XObject, .XString

Execute the Concat() function.

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs:
m_args

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
checkNumberArgs(int
The number of arguments that is being passed to the function.
argNum
)

Overrides com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs.checkNumberArgs.

Check that the number of arguments passed to this function is correct.

public XObject

Returns:

A valid XObject.
execute
(XPathContext
The current execution context.
xctxt
)

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute the function.

protected void
reportWrongNumberArgs()

Overrides com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs.reportWrongNumberArgs.

Constructs and throws a WrongNumberArgException with the appropriate message for this function object.

Inherited from com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs:
callArgVisitorscanTraverseOutsideSubtreedeepEqualsfixupVariablesgetArgssetArg

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs.serialVersionUID.

Constructor Detail

FuncConcatback to summary
public FuncConcat()

Method Detail

checkNumberArgsback to summary
public void checkNumberArgs(int argNum) throws WrongNumberArgsException

Overrides com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs.checkNumberArgs.

Check that the number of arguments passed to this function is correct.

Parameters
argNum:int

The number of arguments that is being passed to the function.

executeback to summary
public XObject execute(XPathContext xctxt) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute the function. The function must return a valid object.

Parameters
xctxt:XPathContext

The current execution context.

Returns:XObject

A valid XObject.

Exceptions
TransformerException:

Doc from com.sun.org.apache.xpath.internal.Expression.execute.

if a runtime exception occurs.

reportWrongNumberArgsback to summary
protected void reportWrongNumberArgs() throws WrongNumberArgsException

Overrides com.sun.org.apache.xpath.internal.functions.FunctionMultiArgs.reportWrongNumberArgs.

Constructs and throws a WrongNumberArgException with the appropriate message for this function object.