org.apache.xpath.functions
Class FuncSubstring
- ExpressionNode, ExpressionOwner, java.io.Serializable, SourceLocator, XPathVisitable
public class FuncSubstring
Execute the Substring() function.
asIterator , asIteratorRaw , asNode , assertion , bool , canTraverseOutsideSubtree , deepEquals , error , execute , execute , execute , execute , executeCharsToContentHandler , exprAddChild , exprGetChild , exprGetNumChildren , exprGetParent , exprSetParent , fixupVariables , getColumnNumber , getExpressionOwner , getLineNumber , getPublicId , getSystemId , isNodesetExpr , isStableNumber , num , warn , xstr |
checkNumberArgs
public void checkNumberArgs(int argNum)
throws WrongNumberArgsException
Check that the number of arguments passed to this function is correct.
- checkNumberArgs in interface Function3Args
argNum
- The number of arguments that is being passed to the function.
execute
public XObject execute(XPathContext xctxt)
throws javax.xml.transform.TransformerException
Execute the function. The function must return
a valid object.
- execute in interface Function
xctxt
- The current execution context.
Copyright B) 2006 Apache XML Project. All Rights Reserved.