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

public Class FuncNormalizeSpace

extends FunctionDef1Arg
Class Inheritance
Imports
com.sun.org.apache.xml.internal.dtm.DTM, com.sun.org.apache.xml.internal.utils.XMLString, com.sun.org.apache.xpath.internal.XPathContext, com.sun.org.apache.xpath.internal.objects.XObject, .XString, org.xml.sax.ContentHandler

Execute the normalize-space() function.

Field Summary

Modifier and TypeField and Description
pack-priv static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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.

public void

Returns:

The result of the expression in the form of a XObject.
executeCharsToContentHandler
(XPathContext
The XPath runtime context.
xctxt
,
ContentHandler handler)

Overrides com.sun.org.apache.xpath.internal.Expression.executeCharsToContentHandler.

Execute an expression in the XPath runtime context, and return the result of the expression.

Inherited from com.sun.org.apache.xpath.internal.functions.FunctionDef1Arg:
Arg0IsNodesetExprcanTraverseOutsideSubtreecheckNumberArgsgetArg0AsNodegetArg0AsNumbergetArg0AsStringreportWrongNumberArgs

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

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

Constructor Detail

FuncNormalizeSpaceback to summary
public FuncNormalizeSpace()

Method Detail

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.

executeCharsToContentHandlerback to summary
public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws TransformerException, SAXException

Overrides com.sun.org.apache.xpath.internal.Expression.executeCharsToContentHandler.

Execute an expression in the XPath runtime context, and return the result of the expression.

Parameters
xctxt:XPathContext

The XPath runtime context.

Returns:void

The result of the expression in the form of a XObject.

Exceptions
TransformerException:
if a runtime exception occurs.