public class XSLPackage extends XSLModuleRoot
StyleElement.OnFailureANNOTATION_PRESERVE, ANNOTATION_STRIP, ANNOTATION_UNSPECIFIEDACTION_COMPILE, ACTION_FIXUP, ACTION_OPTIMIZE, ACTION_PROCESS_ATTRIBUTES, ACTION_TYPECHECK, ACTION_VALIDATE, actionsCompleted, defaultCollationName, defaultMode, defaultXPathNamespace, expandText, extensionNamespaces, reportingCircumstances, staticContext, validationError, versionNODE_LETTERIS_DTD_TYPE, IS_NILLED| Constructor and Description |
|---|
XSLPackage() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of the package (the value of its @name attribute)
|
VersionedPackageName |
getNameAndVersion() |
PackageVersion |
getPackageVersion()
Get the package version (the value of the @package-version attribute)
|
int |
getVersion()
Get the requested XSLT version (the value of the @version attribute)
|
void |
initialise(NodeName elemName,
SchemaType elementType,
AttributeMap atts,
NodeInfo parent,
int sequenceNumber)
Initialise a new ElementImpl with an element name
|
boolean |
isDeclaredModes()
Ask whether it is required that modes be explicitly declared
|
protected void |
prepareAttributes()
Set the attribute list for the element.
|
void |
validate(ComponentDeclaration decl)
Recursive walk through the stylesheet to validate all nodes
|
getInputTypeAnnotationsAttribute, index, processAllAttributesallocateLocation, bindLocalVariable, bindVariable, checkEmpty, checkTopLevel, checkUnknownAttribute, compile, compileDeclaration, compileError, compileError, compileError, compileError, compileError, compileError, compileErrorInAttribute, compileSequenceConstructor, compileSequenceConstructor, compileWarning, compileWarning, compileWarning, fixupReferences, generateId, getAttributeValue, getBaseURI, getBindingInformation, getCompilation, getConfiguration, getContainingPackage, getContainingSlotManager, getDeclaredVisibility, getDefaultCollationName, getDefaultXPathNamespace, getNamespaceResolver, getObjectName, getPackageData, getPrincipalStylesheetModule, getProperties, getSchemaType, getStaticContext, getStaticContext, getTypeAnnotation, getUsedPackage, getVisibility, getWithParamInstructions, getXslOriginal, hasImplicitBinding, invalidAttribute, isDeclaration, isExtensionAttributeAllowed, isExtensionNamespace, isInstruction, isPermittedChild, isSchemaAware, issueWarning, issueWarning, isTopLevel, isWithinDeclaredStreamableConstruct, makeAttributeValueTemplate, makeExpression, makeExpressionVisitor, makeQName, makeRetainedStaticContext, makeSequenceType, markTailCalls, mayContainFallback, mayContainParam, mayContainSequenceConstructor, postValidate, processBooleanAttribute, processStandardAttributes, processVersionAttribute, reportAbsence, requireSyntaxExtensions, seesAvuncularVariables, setCompilation, setObjectName, setValidationError, substituteFor, typeCheck, typeCheck, validateChildren, validateSubtree, validateValidationAttributeaddAttribute, addNamespace, addNamespace, attributes, copy, delete, fixupInsertedNamespaces, generateId, getAllNamespaces, getAttributeValue, getColumnNumber, getDeclaredNamespaces, getLineNumber, getNodeKind, getNodeName, getRoot, getSchemaType, getSystemId, getURIForPrefix, isId, isIdref, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeNamespace, removeTypeAnnotation, rename, replaceStringValue, setAttributeInfo, setAttributes, setLocation, setNamespaceMap, setNilled, setNodeName, setSystemId, setTypeAnnotationaddChild, children, compact, getFirstChild, getLastChild, getNthChild, getNumberOfChildren, getRawSequenceNumber, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, insertChildren, iterateChildren, removeChild, replaceChildrenAt, setChildren, setRawSequenceNumberatomize, compareOrder, effectiveBooleanValue, equals, getDisplayName, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getRawParent, getSiblingPosition, getSuccessorElement, getTreeInfo, getURI, hasFingerprint, head, insertSiblings, isDeleted, iterateAxis, iterateAxis, newBuilder, replace, saveLocation, setRawParent, setSiblingPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchildren, equals, getGenre, getPublicId, hashCode, isSameNodeInfo, isStreamed, toShortStringgetLength, itemAt, iterate, reduce, subsequence, toGroundedValueasIterable, concatenate, containsNode, materializemakeRepeatablepublic void initialise(NodeName elemName, SchemaType elementType, AttributeMap atts, NodeInfo parent, int sequenceNumber)
initialise in class ElementImplelemName - Integer representing the element name, with namespaces resolvedelementType - the schema type of the element nodeatts - The attribute list: always nullparent - The parent nodesequenceNumber - Integer identifying this element within the documentpublic java.lang.String getName()
public int getVersion()
public VersionedPackageName getNameAndVersion()
public PackageVersion getPackageVersion()
protected void prepareAttributes()
StyleElementprepareAttributes in class StyleElementpublic boolean isDeclaredModes()
isDeclaredModes in class XSLModuleRootpublic void validate(ComponentDeclaration decl) throws XPathException
validate in class StyleElementdecl - not usedXPathException - if invalidCopyright (c) 2004-2020 Saxonica Limited.