public class LiteralResultElement extends StyleElement
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 |
|---|
LiteralResultElement() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
compile(Executable exec,
Declaration decl)
Compile code to process the literal result element at runtime
|
int |
getConstructType()
Get the type of construct.
|
int |
getObjectNameCode()
Get a name identifying the object of the expression, for example a function name, template name,
variable name, key name, element name, etc.
|
java.lang.Object |
getProperty(java.lang.String name)
Get the value of a particular property of the instruction.
|
boolean |
isInstruction()
Specify that this is an instruction
|
DocumentImpl |
makeStylesheet(PreparedStylesheet pss)
Make a top-level literal result element into a stylesheet.
|
boolean |
mayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a sequence constructor
|
void |
prepareAttributes()
Process the attribute list
|
void |
validate(Declaration decl)
Validate that this node is OK
|
protected void |
validateChildren(Declaration decl)
Validate the children of this node, recursively.
|
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, getObjectName, getPreparedStylesheet, getPrincipalStylesheetModule, getProcessorVersion, getProperties, getReturnedItemType, getSchemaType, getStaticContext, getSystemId, getTypeAnnotation, getWithParamInstructions, index, isActionCompleted, isDeclaration, isExcludedNamespace, isExplaining, isExtensionNamespace, isPermittedChild, issueWarning, issueWarning, isTopLevel, isXslt30Processor, makeAttributeValueTemplate, makeExpression, makeExpressionVisitor, makeNamespaceContext, makePattern, makeQName, makeSequenceType, makeSortKeys, makeTraceInstruction, markTailCalls, mayContainFallback, mayContainParam, postValidate, processAllAttributes, processAttributes, processDefaultCollationAttribute, processDefaultXPathNamespaceAttribute, processExcludedNamespaces, processExtensionElementAttribute, processStandardAttributes, processVersionAttribute, reportAbsence, seesAvuncularVariables, setActionCompleted, setObjectName, setValidationError, substituteFor, typeCheck, typeCheck, undeclaredNamespaceError, 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, getSystemIdpublic boolean mayContainSequenceConstructor()
mayContainSequenceConstructor in class StyleElementpublic boolean isInstruction()
isInstruction in class StyleElementpublic void prepareAttributes()
throws XPathException
prepareAttributes in class StyleElementXPathExceptionpublic void validate(Declaration decl) throws XPathException
validate in class StyleElementdecl - XPathExceptionprotected void validateChildren(Declaration decl) throws XPathException
validateChildren in class StyleElementdecl - XPathExceptionpublic Expression compile(Executable exec, Declaration decl) throws XPathException
compile in class StyleElementexec - the Executabledecl - the containing top-level declaration, for example xsl:function or xsl:templateXPathExceptionpublic DocumentImpl makeStylesheet(PreparedStylesheet pss) throws XPathException
pss - the PreparedStylesheet (the compiled stylesheet as provided)XPathExceptionpublic int getConstructType()
Location. This method is part of the
InstructionInfo interfacegetConstructType in interface InstructionInfogetConstructType in class StyleElementpublic int getObjectNameCode()
public java.lang.Object getProperty(java.lang.String name)
InstructionInfo interface for run-time tracing and debugging. The properties
available include all the attributes of the source instruction (named by the attribute name):
these are all provided as string values.getProperty in interface InstructionInfogetProperty in class StyleElementname - The name of the required property