net.sf.saxon.instruct

Class Namespace

public class Namespace extends SimpleNodeConstructor

An xsl:namespace element in the stylesheet. (XSLT 2.0)
Constructor Summary
Namespace(Expression name)
Method Summary
voiddisplay(int level, NamePool pool, PrintStream out)
Display this instruction as an expression, for diagnostics
intgetCardinality()
intgetInstructionNameCode()
Set the name of this instruction for diagnostic and tracing purposes
ItemTypegetItemType(TypeHierarchy th)
IteratoriterateSubExpressions()
voidlocalTypeCheck(StaticContext env, ItemType contextItemType)
TailCallprocessLeavingTail(XPathContext context)
protected voidpromoteInst(PromotionOffer offer)
Expressionsimplify(StaticContext env)

Constructor Detail

Namespace

public Namespace(Expression name)

Method Detail

display

public void display(int level, NamePool pool, PrintStream out)
Display this instruction as an expression, for diagnostics

getCardinality

public int getCardinality()

getInstructionNameCode

public int getInstructionNameCode()
Set the name of this instruction for diagnostic and tracing purposes

getItemType

public ItemType getItemType(TypeHierarchy th)

iterateSubExpressions

public Iterator iterateSubExpressions()

localTypeCheck

public void localTypeCheck(StaticContext env, ItemType contextItemType)

processLeavingTail

public TailCall processLeavingTail(XPathContext context)

promoteInst

protected void promoteInst(PromotionOffer offer)

simplify

public Expression simplify(StaticContext env)