| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.instruct.Instruction net.sf.saxon.instruct.SimpleNodeConstructor net.sf.saxon.instruct.ProcessingInstruction
ProcessingInstruction | public class ProcessingInstruction extends SimpleNodeConstructor (Code) | | An xsl:processing-instruction element in the stylesheet.
|
ProcessingInstruction | public ProcessingInstruction(Expression name)(Code) | | Create an xsl:processing-instruction instruction
Parameters: name - the expression used to compute the name of the generatedprocessing-instruction |
getCardinality | public int getCardinality()(Code) | | |
getDependencies | public int getDependencies()(Code) | | |
getInstructionNameCode | public int getInstructionNameCode()(Code) | | Get the name of this instruction for diagnostic and tracing purposes
the string "xsl:processing-instruction" |
processLeavingTail | public TailCall processLeavingTail(XPathContext context) throws XPathException(Code) | | Process this instruction, that is, produce a processing-instruction node in the
result sequence.
Parameters: context - the dynamic context of this transformation throws: XPathException - if any non-recoverable dynamic error occurs always returns null in this implementation |
promoteInst | protected void promoteInst(PromotionOffer offer) throws XPathException(Code) | | Offer promotion for subexpressions. The offer will be accepted if the subexpression
is not dependent on the factors (e.g. the context item) identified in the PromotionOffer.
By default the offer is not accepted - this is appropriate in the case of simple expressions
such as constant values and variable references where promotion would give no performance
advantage. This method is always called at compile time.
Parameters: offer - details of the offer, for example the offer to moveexpressions that don't depend on the context to an outer level inthe containing expression exception: XPathException - if any error is detected |
|
|