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, version
NODE_LETTER
ALL_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, xPath10ModeIsEnabled
addAttribute, 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, setTypeAnnotation
addChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getNumberOfChildren, getRawSequenceNumber, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, insertChildren, insertChildrenAt, removeChild, replaceChildrenAt, setChildren, setRawSequenceNumber
atomize, 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, setSiblingPosition
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLineNumber, getSystemId
getColumnNumber, getPublicId
getColumnNumber, getPublicId
public boolean isDeclaration()
isDeclaration
in class StyleElement
public StructuredQName getAttributeSetName()
public AttributeSet getInstruction()
public void incrementReferenceCount()
public void prepareAttributes() throws XPathException
StyleElement
prepareAttributes
in class StyleElement
XPathException
public StructuredQName getObjectName()
getObjectName
in interface InstructionInfo
getObjectName
in class StyleElement
public void validate(Declaration decl) throws XPathException
StyleElement
validate
in class StyleElement
XPathException
public void checkCircularity(XSLAttributeSet origin) throws XPathException
origin
- the place from which the search startedXPathException
public SlotManager getSlotManager()
getSlotManager
in interface StylesheetProcedure
public Expression compile(Executable exec, Declaration decl) throws XPathException
compile
in class StyleElement
exec
- the Executabledecl
- XPathException
- if a failure is detectedpublic void optimize(Declaration declaration) throws XPathException
optimize
in interface StylesheetProcedure
declaration
- XPathException
public int getConstructType()
Location
. This method is part of
the InstructionInfo
interfacegetConstructType
in interface InstructionInfo
getConstructType
in class StyleElement