public class XSLAttributeSet extends StyleElement implements StylesheetProcedure
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 |
|---|
XSLAttributeSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCircularity(XSLAttributeSet origin)
Check for circularity: specifically, check that this attribute set does not contain
a direct or indirect reference to the one supplied as a parameter
|
Expression |
compile(Executable exec,
Declaration decl)
Compile the attribute set
|
StructuredQName |
getAttributeSetName()
Get the name of this attribute set
|
int |
getConstructType()
Get the type of construct.
|
AttributeSet |
getInstruction()
Get the compiled code produced for this XSLT element
|
StructuredQName |
getObjectName()
Get a name identifying the object of the expression, for example a function name, template name,
variable name, key name, element name, etc.
|
SlotManager |
getSlotManager()
Get details of stack frame
|
void |
incrementReferenceCount()
Increment the number of references found to this attribute set
|
boolean |
isDeclaration()
Ask whether this node is a declaration, that is, a permitted child of xsl:stylesheet
(including xsl:include and xsl:import).
|
void |
optimize(Declaration declaration)
Optimize the stylesheet construct
|
void |
prepareAttributes()
Set the attribute list for the element.
|
void |
validate(Declaration decl)
Check that the stylesheet element is valid.
|
allocateLocationId, allocatePatternSlots, allocateSlots, bindVariable, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, compileError, compileError, compileError, compileError, compileSequenceConstructor, compileWarning, compileWarning, definesExcludedNamespace, definesExtensionElement, fallbackProcessing, fixupReferences, forwardsCompatibleModeIsEnabled, getAttributeSets, getAttributeValue, getColumnNumber, getCommonChildItemType, getContainerGranularity, getContainingSlotManager, getContainingStylesheet, getDefaultCollationName, getDefaultXPathNamespace, getEffectiveVersion, getExecutable, getHostLanguage, getLastChildInstruction, getLineNumber, getLocationProvider, getNamespaceResolver, getPreparedStylesheet, getPrincipalStylesheetModule, getProcessorVersion, getProperties, getProperty, getReturnedItemType, getSchemaType, getStaticContext, getSystemId, getTypeAnnotation, getWithParamInstructions, index, isActionCompleted, isExcludedNamespace, isExplaining, isExtensionNamespace, isInstruction, isPermittedChild, issueWarning, issueWarning, isTopLevel, isXslt30Processor, makeAttributeValueTemplate, makeExpression, makeExpressionVisitor, makeNamespaceContext, makePattern, makeQName, makeSequenceType, makeSortKeys, makeTraceInstruction, markTailCalls, mayContainFallback, mayContainParam, mayContainSequenceConstructor, postValidate, processAllAttributes, 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, getPublicIdpublic boolean isDeclaration()
isDeclaration in class StyleElementpublic StructuredQName getAttributeSetName()
public AttributeSet getInstruction()
public void incrementReferenceCount()
public void prepareAttributes()
throws XPathException
StyleElementprepareAttributes in class StyleElementXPathExceptionpublic StructuredQName getObjectName()
getObjectName in interface InstructionInfogetObjectName in class StyleElementpublic void validate(Declaration decl) throws XPathException
StyleElementvalidate in class StyleElementXPathExceptionpublic void checkCircularity(XSLAttributeSet origin) throws XPathException
origin - the place from which the search startedXPathExceptionpublic SlotManager getSlotManager()
getSlotManager in interface StylesheetProcedurepublic Expression compile(Executable exec, Declaration decl) throws XPathException
compile in class StyleElementexec - the Executabledecl - XPathException - if a failure is detectedpublic void optimize(Declaration declaration) throws XPathException
optimize in interface StylesheetProceduredeclaration - XPathExceptionpublic int getConstructType()
Location. This method is part of
the InstructionInfo interfacegetConstructType in interface InstructionInfogetConstructType in class StyleElement