|
|||||||||
| 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.ProcessingInstruction
public class 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(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-instruction| Method Detail |
|---|
public void setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
setInstructionDetails in class Instructionpublic SequenceType getResultType()
Instruction
getResultType in class Instruction
public void typeCheck(StaticContext env)
throws XPathException
typeCheck in class SimpleNodeConstructorXPathExceptionpublic int getDependencies()
Expression
getDependencies in interface ExpressiongetDependencies in class ExprInstructionpublic void getXPathExpressions(List list)
getXPathExpressions in class SimpleNodeConstructor
public void promoteInst(PromotionOffer offer)
throws XPathException
promoteInst in class ExprInstructionoffer - 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 detected
public TailCall processLeavingTail(XPathContext context)
throws TransformerException
processLeavingTail in class Instructioncontext - the dynamic context of this transformation
TransformerException - if any non-recoverable dynamic error occurs
protected int evaluateNameCode(XPathContext context)
throws XPathException
evaluateNameCode in class SimpleNodeConstructorXPathException
public void display(int level,
NamePool pool)
SimpleNodeConstructor
display in interface Expressiondisplay in class SimpleNodeConstructorlevel - indentation level for this expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||