net.sf.saxon.instruct
public final class Comment extends SimpleNodeConstructor
Constructor Summary | |
---|---|
Comment()
Construct the instruction |
Method Summary | |
---|---|
protected String | checkContent(String comment, XPathContext context)
Check the content of the node, and adjust it if necessary
|
void | display(int level, NamePool pool, PrintStream out) |
int | getCardinality() |
int | getInstructionNameCode()
Get the instruction name, for diagnostics and tracing
return the string "xsl:comment" |
ItemType | getItemType(TypeHierarchy th) |
void | localTypeCheck(StaticContext env, ItemType contextItemType) |
TailCall | processLeavingTail(XPathContext context)
Process this instruction, to output a Comment Node |
Parameters: comment the supplied content context the dynamic context
Returns: the original content, unless adjustments are needed
Throws: net.sf.saxon.trans.DynamicError if the content is invalid
Parameters: context the dynamic context for this transformation
Returns: a TailCall representing a call delegated to the caller. Always returns null in this implementation