Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class CastExpr



public class CastExpr
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.BinExpr
A class that creates a new value of a specific type based on an existing value. A cast expression takes two operands: an input expression and a target type. The type of the input expression is called the input type. The target type must be a named atomic type, represented by a QName, optionally followed by the occurrence indicator ? if an empty sequence is permitted. If the target type has no namespace prefix, it is considered to be in the default element/type namespace.

Constructor Summary

CastExpr(org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr l , org.eclipse.wst.xml.xpath2.processor.internal.ast.SingleType r)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public org.eclipse.wst.xml.xpath2.api.Functionfunction()
    
public voidset_function(org.eclipse.wst.xml.xpath2.api.Function _function)
    

Constructor Detail

CastExpr

public CastExpr(org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr l , org.eclipse.wst.xml.xpath2.processor.internal.ast.SingleType r)

Constructor for CastExpr.


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


function

public org.eclipse.wst.xml.xpath2.api.Function function()

Returns

org.eclipse.wst.xml.xpath2.api.Function


set_function

public void set_function(org.eclipse.wst.xml.xpath2.api.Function _function)

Parameters

_function