|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.instruct.Instruction
net.sf.saxon.instruct.ExprInstruction
net.sf.saxon.instruct.SimpleNodeConstructor
net.sf.saxon.instruct.Comment
An instruction representing an xsl:comment element in the stylesheet.
Field Summary |
Fields inherited from class net.sf.saxon.instruct.SimpleNodeConstructor |
select, separator |
Fields inherited from class net.sf.saxon.instruct.Instruction |
children |
Constructor Summary | |
Comment()
Construct the instruction |
Method Summary | |
void |
display(int level,
NamePool pool)
Display this instruction as an expression, for diagnostics |
SequenceType |
getResultType()
Get the static type of the value returned by the instruction |
TailCall |
processLeavingTail(XPathContext context)
Process this instruction, to output a Comment Node |
void |
promoteInst(PromotionOffer offer)
Offer promotion for subexpressions. |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the instruction name, for diagnostics and tracing return the string "xsl:comment" |
void |
typeCheck(StaticContext env)
|
Methods inherited from class net.sf.saxon.instruct.SimpleNodeConstructor |
analyze, evaluateItem, evaluateNameCode, expandChildren, getXPathExpressions, setSelect, setSeparator |
Methods inherited from class net.sf.saxon.instruct.ExprInstruction |
effectiveBooleanValue, evaluateAsString, getCardinality, getDependencies, getItemType, getSpecialProperties, getSubExpressions, iterate, promote, simplify |
Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, getChildren, getColumnNumber, getInstructionDetails, getInstructionName, getLineNumber, getPublicId, getSystemId, getSystemId, process, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setSourceLocation, styleError, styleError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Comment()
Method Detail |
public void setInstructionDetails(Controller controller, NamePool namePool, InstructionDetails details)
setInstructionDetails
in class Instruction
public SequenceType getResultType()
Instruction
getResultType
in class Instruction
public void typeCheck(StaticContext env)
typeCheck
in class SimpleNodeConstructor
public void promoteInst(PromotionOffer offer) throws XPathException
promoteInst
in class ExprInstruction
offer
- details of the offer, for example the offer to move
expressions that don't depend on the context to an outer level in
the containing expression
XPathException
- if any error is detectedpublic TailCall processLeavingTail(XPathContext context) throws javax.xml.transform.TransformerException
processLeavingTail
in class Instruction
context
- the dynamic context for this transformation
javax.xml.transform.TransformerException
public void display(int level, NamePool pool)
SimpleNodeConstructor
display
in interface Expression
display
in class SimpleNodeConstructor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |