net.sf.saxon.style
Class XSLComment
- Locator, Container, Locator, Serializable, Source, SourceLocator, FingerprintedNode, InstructionInfo, Item, LocationProvider, NamespaceResolver, NodeInfo, PullEvent, SaxonLocator, ValueRepresentation
public final class XSLComment
An xsl:comment elements in the stylesheet.
REPORT_ALWAYS , REPORT_IF_INSTANTIATED , REPORT_UNLESS_FALLBACK_AVAILABLE , REPORT_UNLESS_FORWARDS_COMPATIBLE , defaultCollationName , defaultXPathNamespace , extensionNamespaces , reportingCircumstances , staticContext , validationError , version |
allocateLocationId , allocatePatternSlots , allocateSlots , backwardsCompatibleModeIsEnabled , bindVariable , checkEmpty , checkSortComesFirst , checkTopLevel , checkUnknownAttribute , checkWithinTemplate , compile , compileError , compileError , compileError , compileSequenceConstructor , compileWarning , definesExcludedNamespace , definesExtensionElement , fallbackProcessing , fixupReferences , forwardsCompatibleModeIsEnabled , getAllStylesheetFunctions , getAttributeSets , getAttributeValue , getCommonChildItemType , getConstructType , getContainingSlotManager , getContainingStylesheet , getDefaultCollationName , getDefaultXPathNamespace , getExecutable , getHostLanguage , getLastChildInstruction , getLineNumber , getLineNumber , getLocationProvider , getNamespaceResolver , getObjectName , getObjectName , getPrecedence , getPreparedStylesheet , getPrincipalStylesheet , getProperties , getProperty , getReturnedItemType , getSchemaType , getStaticContext , getStylesheetFunction , getSystemId , getTypeAnnotation , getVersion , getWithParamInstructions , isExcludedNamespace , isExplaining , isExtensionNamespace , isInstruction , isPermittedChild , isTopLevel , issueWarning , issueWarning , makeAttributeValueTemplate , makeExpression , makeExpressionVisitor , makeNamespaceContext , makePattern , makeQName , makeSequenceType , makeSortKeys , makeTraceInstruction , markTailCalls , mayContainFallback , mayContainSequenceConstructor , postValidate , prepareAttributes , processAllAttributes , processAttributes , processDefaultCollationAttribute , processDefaultXPathNamespaceAttribute , processExcludedNamespaces , processExtensionElementAttribute , processVersionAttribute , replaceSubExpression , reportAbsence , setLineNumber , setObjectName , setValidationError , substituteFor , typeCheck , typeCheck , undeclaredNamespaceError , validate , validateChildren , validateSubtree |
copy , getAttributeList , getAttributeValue , getDeclaredNamespaces , getInScopeNamespaceCodes , getPrefixForURI , getURICodeForPrefix , getURIForPrefix , initialise , iteratePrefixes , setNamespaceDeclarations |
copy , generateId , getAttributeList , getBaseURI , getDeclaredNamespaces , getDocumentRoot , getLineNumber , getNameCode , getNodeKind , getRoot , getSystemId , initialise , setLineNumber , setNameCode , setSystemId |
addChild , compact , enumerateChildren , getFirstChild , getLastChild , getNthChild , getSequenceNumber , getStringValue , getStringValueCS , hasChildNodes , useChildrenArray |
atomize , compareOrder , equals , generateId , getAttributeValue , getBaseURI , getColumnNumber , getConfiguration , getDeclaredNamespaces , getDisplayName , getDocumentNumber , getDocumentRoot , getFingerprint , getFirstChild , getLastChild , getLineNumber , getLocalPart , getNameCode , getNamePool , getNextInDocument , getNextSibling , getParent , getPrefix , getPreviousInDocument , getPreviousSibling , getPublicId , getRoot , getSequenceNumber , getStringValueCS , getSystemId , getTypeAnnotation , getTypedValue , getURI , hasChildNodes , hashCode , isSameNodeInfo , iterateAxis , iterateAxis , setSystemId |
compile
public Expression compile(Executable exec)
throws XPathException
Compile the instruction on the stylesheet tree into an executable instruction
for use at run-time.
- compile in interface StyleElement
- either a ComputedExpression, or null. The value null is returned when compiling an instruction
that returns a no-op, or when compiling a top-level object such as an xsl:template that compiles
into something other than an instruction.
getErrorCodeForSelectPlusContent
protected String getErrorCodeForSelectPlusContent()
Get the error code to be returned when the element has a select attribute but is not empty.
- getErrorCodeForSelectPlusContent in interface XSLStringConstructor
- the error code defined for this condition, for this particular instruction
prepareAttributes
public void prepareAttributes()
throws XPathException
Set the attribute list for the element. This is called to process the attributes (note
the distinction from processAttributes in the superclass).
Must be supplied in a subclass
- prepareAttributes in interface StyleElement
validate
public void validate()
throws XPathException
Check that the stylesheet element is valid. This is called once for each element, after
the entire tree has been built. As well as validation, it can perform first-time
initialisation. The default implementation does nothing; it is normally overriden
in subclasses.
- validate in interface XSLStringConstructor