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, YES_NO
NODE_LETTER
ALL_NAMESPACES, 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
|
void |
compileDeclaration(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, bindLocalVariable, bindVariable, checkAttributeValue, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, compile, 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, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getPrefixForURI, getRoot, getSchemaType, getSystemId, getTypeAnnotation, getURIForPrefix, gsetAttributeCollection, initialise, isId, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, replaceStringValue, setAttributeList, 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
- if a static error is detectedpublic StructuredQName getObjectName()
getObjectName
in interface InstructionInfo
getObjectName
in class StyleElement
public void validate(Declaration decl) throws XPathException
StyleElement
validate
in class StyleElement
decl
- the declaration to be validatedXPathException
- if any error is found during validationpublic void checkCircularity(XSLAttributeSet origin) throws XPathException
origin
- the place from which the search startedXPathException
- if an error is foundpublic SlotManager getSlotManager()
getSlotManager
in interface StylesheetProcedure
public void compileDeclaration(Executable exec, Declaration decl) throws XPathException
compileDeclaration
in class StyleElement
exec
- the Executabledecl
- this attribute set declarationXPathException
- if a failure is detectedpublic void optimize(Declaration declaration) throws XPathException
optimize
in interface StylesheetProcedure
declaration
- this attribute set declarationXPathException
public int getConstructType()
Location
. This method is part of
the InstructionInfo
interfacegetConstructType
in interface InstructionInfo
getConstructType
in class StyleElement