|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.instruct.Instruction | +--net.sf.saxon.instruct.ExprInstruction | +--net.sf.saxon.instruct.SimpleNodeConstructor | +--net.sf.saxon.instruct.ProcessingInstruction
An xsl:processing-instruction 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 | |
ProcessingInstruction(Expression name)
Create an xsl:processing-instruction instruction |
Method Summary | |
void |
display(int level,
NamePool pool)
Display this instruction as an expression, for diagnostics |
protected int |
evaluateNameCode(XPathContext context)
|
int |
getDependencies()
Determine which aspects of the context the expression depends on. |
SequenceType |
getResultType()
Get the static type of the value returned by the instruction |
void |
getXPathExpressions(java.util.List list)
|
TailCall |
processLeavingTail(XPathContext context)
Process this instruction, that is, produce a processing-instruction node in the result sequence. |
void |
promoteInst(PromotionOffer offer)
Offer promotion for subexpressions. |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the name of this instruction for diagnostic and tracing purposes |
void |
typeCheck(StaticContext env)
|
Methods inherited from class net.sf.saxon.instruct.SimpleNodeConstructor |
analyze, evaluateItem, expandChildren, setSelect, setSeparator |
Methods inherited from class net.sf.saxon.instruct.ExprInstruction |
effectiveBooleanValue, evaluateAsString, getCardinality, 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 ProcessingInstruction(Expression name)
name
- the expression used to compute the name of the generated
processing-instructionMethod 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) throws XPathException
typeCheck
in class SimpleNodeConstructor
XPathException
public int getDependencies()
Expression
getDependencies
in interface Expression
getDependencies
in class ExprInstruction
public void getXPathExpressions(java.util.List list)
getXPathExpressions
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 of this transformation
javax.xml.transform.TransformerException
- if any non-recoverable dynamic error occursprotected int evaluateNameCode(XPathContext context) throws XPathException
evaluateNameCode
in class SimpleNodeConstructor
XPathException
public void display(int level, NamePool pool)
SimpleNodeConstructor
display
in interface Expression
display
in class SimpleNodeConstructor
level
- indentation level for this expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |