public class XSLPackage extends XSLModuleRoot
StyleElement.OnFailure
ANNOTATION_PRESERVE, ANNOTATION_STRIP, ANNOTATION_UNSPECIFIED
ACTION_COMPILE, ACTION_FIXUP, ACTION_OPTIMIZE, ACTION_PROCESS_ATTRIBUTES, ACTION_TYPECHECK, ACTION_VALIDATE, actionsCompleted, defaultCollationName, defaultMode, defaultXPathNamespace, expandText, extensionNamespaces, reportingCircumstances, staticContext, validationError, version
NODE_LETTER
IS_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, processAllAttributes
allocateLocation, 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, validateValidationAttribute
addAttribute, 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, setTypeAnnotation
addChild, children, compact, getFirstChild, getLastChild, getNthChild, getNumberOfChildren, getRawSequenceNumber, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, insertChildren, iterateChildren, removeChild, replaceChildrenAt, setChildren, setRawSequenceNumber
atomize, 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, setSiblingPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
children, equals, getGenre, getPublicId, hashCode, isSameNodeInfo, isStreamed, toShortString
getLength, itemAt, iterate, reduce, subsequence, toGroundedValue
asIterable, concatenate, containsNode, materialize
makeRepeatable
public void initialise(NodeName elemName, SchemaType elementType, AttributeMap atts, NodeInfo parent, int sequenceNumber)
initialise
in class ElementImpl
elemName
- 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()
StyleElement
prepareAttributes
in class StyleElement
public boolean isDeclaredModes()
isDeclaredModes
in class XSLModuleRoot
public void validate(ComponentDeclaration decl) throws XPathException
validate
in class StyleElement
decl
- not usedXPathException
- if invalidCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.