javax.xml.transform.Source, javax.xml.transform.SourceLocator, LocationProvider, SaxonLocator, Container, VariableDeclaration, FingerprintedNode, Item, NodeInfo, ValueRepresentation, StylesheetProcedure, InstructionInfo, org.xml.sax.Locatorpublic class XSLParam extends XSLVariableDeclaration
| Modifier and Type | Field | Description |
|---|---|---|
(package private) Expression |
conversion |
nameCode, rootattributeList, namespaceListindex, NODE_LETTER, parentALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESsequencedefaultCollationName, defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError, versionEMPTY_VALUE_ARRAYassignable, constantText, global, implicitlyRequiredParam, redundant, requiredParam, requiredType, select, slotManager, tunnelreferences| Constructor | Description |
|---|---|
XSLParam() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
allowsRequired() |
|
protected boolean |
allowsTunnelAttribute() |
|
protected boolean |
allowsValue() |
|
Expression |
compile(Executable exec) |
Compile: this ensures space is available for local variables declared within
this global variable
|
SequenceType |
getRequiredType() |
Get the static type of the parameter.
|
void |
validate() |
Check that the variable is not already declared, and allocate a slot number
|
generateId, getBaseURI, getDocumentRoot, getNameCode, getNodeKind, getRoot, getSystemId, setNameCode, setSystemIdcopy, getAttributeList, getAttributeValue, getDeclaredNamespaces, getInScopeNamespaceCodes, getPrefixForURI, getURICodeForPrefix, getURIForPrefix, initialise, iteratePrefixes, sendNamespaceDeclarations, setNamespaceDeclarationsgetSystemIdatomize, compareOrder, equals, getColumnNumber, getConfiguration, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getTypeAnnotation, getTypedValue, getURI, hashCode, isSameNodeInfo, iterateAxis, iterateAxisclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, useChildrenArrayallocateLocationId, allocateSlots, backwardsCompatibleModeIsEnabled, bindVariable, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, checkWithinTemplate, compileError, compileError, compileError, compileSequenceConstructor, compileWarning, definesExcludedNamespace, definesExtensionElement, fallbackProcessing, forwardsCompatibleModeIsEnabled, getAttributeSets, getAttributeValue, getCommonChildItemType, getContainingSlotManager, getContainingStylesheet, getDefaultCollationName, getDefaultXPathNamespace, getExecutable, getHostLanguage, getLastChildInstruction, getLineNumber, getLineNumber, getLocationProvider, getNamespaceResolver, getObjectFingerprint, getObjectNameCode, getPrecedence, getPreparedStylesheet, getPrincipalStylesheet, getProperties, getProperty, getSchemaType, getStaticContext, getStylesheetFunction, getSystemId, getTargetNamePool, getTypeAnnotation, getVersion, getWithParamInstructions, isExcludedNamespace, isExplaining, isExtensionNamespace, isPermittedChild, issueWarning, issueWarning, isTopLevel, makeAttributeValueTemplate, makeExpression, makeNameCode, makeNamespaceContext, makePattern, makeSequenceType, makeSortKeys, makeTraceInstruction, markTailCalls, mayContainFallback, postValidate, processAllAttributes, processAttributes, processDefaultCollationAttribute, processDefaultXPathNamespaceAttribute, processExcludedNamespaces, processExtensionElementAttribute, processVersionAttribute, replaceSubExpression, reportAbsence, setLineNumber, setObjectNameCode, setValidationError, substituteFor, typeCheck, typeCheck, undeclaredNamespaceError, validateChildren, validateSubtreegetNameCode, getVariableNameallowsAsAttribute, checkAgainstRequiredType, getConstructType, getReturnedItemType, getVariableFingerprint, getVariableName, initializeInstruction, isAssignable, isGlobal, isRequiredParam, isTunnelParam, mayContainSequenceConstructor, prepareAttributes, setRedundantfixupBinding, fixupReferences, getReferenceList, getReferences, getSlotManager, getSlotNumber, isInstruction, registerReference, setReferenceCount, setSlotNumberExpression conversion
protected boolean allowsValue()
allowsValue in class XSLGeneralVariableprotected boolean allowsRequired()
allowsRequired in class XSLGeneralVariableprotected boolean allowsTunnelAttribute()
allowsTunnelAttribute in class XSLGeneralVariablepublic void validate()
throws XPathException
XSLVariableDeclarationvalidate in class XSLVariableDeclarationXPathExceptionpublic Expression compile(Executable exec) throws XPathException
compile in class StyleElementXPathExceptionpublic SequenceType getRequiredType()
getRequiredType in class XSLVariableDeclaration