public class XSLStylesheet extends StyleElement
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_PRESERVE |
static int |
ANNOTATION_STRIP |
static int |
ANNOTATION_UNSPECIFIED |
(package private) PreparedStylesheet |
exec |
ACTION_COMPILE, ACTION_FIXUP, ACTION_OPTIMIZE, ACTION_PROCESS_ATTRIBUTES, ACTION_TYPECHECK, ACTION_VALIDATE, actionsCompleted, defaultCollationName, defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError, versionNODE_LETTERALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES| Constructor and Description |
|---|
XSLStylesheet() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
compile(Executable exec,
Declaration decl)
Dummy compile() method to satisfy the interface
|
StructuredQName |
getDefaultMode()
Get the default mode (XSLT 3.0 feature)
|
int |
getDefaultValidation()
Get the value of the default validation attribute
|
PreparedStylesheet |
getExecutable()
Get the run-time Executable object
|
int |
getInputTypeAnnotationsAttribute()
Get the value of the input-type-annotations attribute, for this module alone.
|
KeyManager |
getKeyManager()
Get the KeyManager which handles key definitions
|
LocationMap |
getLocationMap()
Get the locationMap object
|
PreparedStylesheet |
getPreparedStylesheet()
Get the owning PreparedStylesheet object.
|
PrincipalStylesheetModule |
getPrincipalStylesheetModule()
Get the principal stylesheet module
|
RuleManager |
getRuleManager()
Get the RuleManager which handles template rules
|
protected void |
index(Declaration decl,
PrincipalStylesheetModule top)
Method supplied by declaration elements to add themselves to a stylesheet-level index
|
protected boolean |
mayContainParam(String attName)
Determine whether this type of element is allowed to contain an xsl:param element
|
void |
prepareAttributes()
Prepare the attributes on the stylesheet element
|
void |
processAllAttributes()
Process the attributes of every node in the stylesheet
|
void |
setPrincipalStylesheetModule(PrincipalStylesheetModule module) |
void |
validate(Declaration decl)
Validate this element
|
allocateLocationId, allocatePatternSlots, allocateSlots, bindVariable, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, compileError, compileError, compileError, compileError, compileSequenceConstructor, compileWarning, compileWarning, definesExcludedNamespace, definesExtensionElement, fallbackProcessing, fixupReferences, forwardsCompatibleModeIsEnabled, getAttributeSets, getAttributeValue, getColumnNumber, getCommonChildItemType, getConstructType, getContainerGranularity, getContainingSlotManager, getContainingStylesheet, getDefaultCollationName, getDefaultXPathNamespace, getEffectiveVersion, getHostLanguage, getLastChildInstruction, getLineNumber, getLocationProvider, getNamespaceResolver, getObjectName, getProcessorVersion, getProperties, getProperty, getReturnedItemType, getSchemaType, getStaticContext, getSystemId, getTypeAnnotation, getWithParamInstructions, isActionCompleted, isDeclaration, isExcludedNamespace, isExplaining, isExtensionNamespace, isInstruction, isPermittedChild, issueWarning, issueWarning, isTopLevel, isXslt30Processor, makeAttributeValueTemplate, makeExpression, makeExpressionVisitor, makeNamespaceContext, makePattern, makeQName, makeSequenceType, makeSortKeys, makeTraceInstruction, markTailCalls, mayContainFallback, mayContainSequenceConstructor, postValidate, processAttributes, processDefaultCollationAttribute, processDefaultXPathNamespaceAttribute, processExcludedNamespaces, processExtensionElementAttribute, processStandardAttributes, processVersionAttribute, reportAbsence, seesAvuncularVariables, setActionCompleted, setObjectName, setValidationError, substituteFor, typeCheck, typeCheck, undeclaredNamespaceError, validateChildren, validateSubtree, xPath10ModeIsEnabledaddAttribute, addNamespace, copy, delete, fixupInsertedNamespaces, generateId, getAttributeList, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDocumentRoot, getInScopeNamespaceCodes, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getPrefixForURI, getRoot, getSystemId, getTypeAnnotation, getURICodeForPrefix, getURICodeForPrefixCode, getURIForPrefix, gsetAttributeCollection, initialise, isId, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, replaceStringValue, setAttributeList, setLineAndColumn, setLocation, setNameCode, setNamespaceDeclarations, setNamespaceList, setSystemId, setTypeAnnotationaddChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getNumberOfChildren, getRawSequenceNumber, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, insertChildren, insertChildrenAt, removeChild, replaceChildrenAt, setChildren, setRawSequenceNumberatomize, compareOrder, equals, getConfiguration, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getRawParent, getSiblingPosition, getTypedValue, getURI, insertSiblings, isDeleted, isIdref, isSameNodeInfo, iterateAxis, iterateAxis, newBuilder, replace, setRawParent, setSiblingPositionclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLineNumber, getSystemIdgetColumnNumber, getPublicIdgetColumnNumber, getPublicIdPreparedStylesheet exec
public static final int ANNOTATION_UNSPECIFIED
public static final int ANNOTATION_STRIP
public static final int ANNOTATION_PRESERVE
public PreparedStylesheet getPreparedStylesheet()
getPreparedStylesheet in class StyleElementpublic void setPrincipalStylesheetModule(PrincipalStylesheetModule module)
public PrincipalStylesheetModule getPrincipalStylesheetModule()
StyleElementgetPrincipalStylesheetModule in class StyleElementpublic PreparedStylesheet getExecutable()
getExecutable in interface ContainergetExecutable in class StyleElementprotected boolean mayContainParam(String attName)
StyleElementmayContainParam in class StyleElementattName - if null, the method tests whether an xsl:param child is allowed.
If non-null, it tests whether an xsl:param child with the given attribute name is allowedpublic LocationMap getLocationMap()
public RuleManager getRuleManager()
public StructuredQName getDefaultMode()
public KeyManager getKeyManager()
public void prepareAttributes()
throws XPathException
prepareAttributes in class StyleElementXPathExceptionpublic int getDefaultValidation()
Validation.STRIPpublic int getInputTypeAnnotationsAttribute()
throws XPathException
ANNOTATION_STRIP and ANNOTATION_PRESERVEXPathExceptionpublic void validate(Declaration decl) throws XPathException
validate in class StyleElementdecl - XPathExceptionpublic void processAllAttributes()
throws XPathException
processAllAttributes in class StyleElementXPathException - in the event of a static error being detectedprotected void index(Declaration decl, PrincipalStylesheetModule top) throws XPathException
StyleElementindex in class StyleElementdecl - the Declaration being indexed. (This corresponds to the StyleElement object
except in cases where one module is imported several times with different precedence.)top - the outermost XSLStylesheet elementXPathExceptionpublic Expression compile(Executable exec, Declaration decl)
compile in class StyleElementexec - the Executabledecl - the containing top-level declaration, for example xsl:function or xsl:template