Package org.eclipse.wst.xml.xpath2.processor.internal.ast
public class CastExpr extends org.eclipse.wst.xml.xpath2.processor.internal.ast.BinExprA 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.Object | accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v) Support for Visitor interface. |
public org.eclipse.wst.xml.xpath2.api.Function | function() |
public void | set_function(org.eclipse.wst.xml.xpath2.api.Function _function) |
Constructor Detail |
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 |
public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
Support for Visitor interface.
v
java.lang.Object
- Result of Visitor operation.
public org.eclipse.wst.xml.xpath2.api.Function function()
org.eclipse.wst.xml.xpath2.api.Function
public void set_function(org.eclipse.wst.xml.xpath2.api.Function _function)
_function