public class LiteralResultElement extends StyleElement
defaultCollationName, defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError, versionattributeList, namespaceListnameCode, rootsequenceindex, NODE_LETTER, parentALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESEMPTY_VALUE_ARRAY| Constructor and Description |
|---|
LiteralResultElement() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
compile(Executable exec)
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,
StyleNodeFactory nodeFactory)
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()
Validate that this node is OK
|
protected void |
validateChildren()
Validate the children of this node, recursively.
|
allocateLocationId, allocateSlots, backwardsCompatibleModeIsEnabled, bindVariable, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, checkWithinTemplate, compileError, compileError, compileError, compileSequenceConstructor, compileWarning, definesExcludedNamespace, definesExtensionElement, fallbackProcessing, fixupReferences, forwardsCompatibleModeIsEnabled, getAttributeSets, getAttributeValue, getCommonChildItemType, getContainingSlotManager, getContainingStylesheet, getDefaultCollationName, getDefaultXPathNamespace, getExecutable, getHostLanguage, getLastChildInstruction, getLineNumber, getLineNumber, getLocationProvider, getNamespaceResolver, getObjectFingerprint, getPrecedence, getPreparedStylesheet, getPrincipalStylesheet, getProperties, getReturnedItemType, getSchemaType, getStaticContext, getStylesheetFunction, getSystemId, getTargetNamePool, getTypeAnnotation, getVersion, getWithParamInstructions, isExcludedNamespace, isExplaining, isExtensionNamespace, isPermittedChild, issueWarning, issueWarning, isTopLevel, makeAttributeValueTemplate, makeExpression, makeNameCode, makeNamespaceContext, makePattern, makeSequenceType, makeSortKeys, makeTraceInstruction, markTailCalls, mayContainFallback, postValidate, processAllAttributes, processAttributes, processDefaultCollationAttribute, processDefaultXPathNamespaceAttribute, processExcludedNamespaces, processExtensionElementAttribute, processVersionAttribute, replaceSubExpression, reportAbsence, setLineNumber, setObjectNameCode, setValidationError, substituteFor, typeCheck, typeCheck, undeclaredNamespaceError, validateSubtreecopy, getAttributeList, getAttributeValue, getDeclaredNamespaces, getInScopeNamespaceCodes, getPrefixForURI, getURICodeForPrefix, getURIForPrefix, initialise, iteratePrefixes, sendNamespaceDeclarations, setNamespaceDeclarationsgenerateId, getBaseURI, getDocumentRoot, getNameCode, getNodeKind, getRoot, getSystemId, setNameCode, setSystemIdaddChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, useChildrenArrayatomize, compareOrder, equals, getColumnNumber, getConfiguration, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getTypeAnnotation, getTypedValue, getURI, hashCode, isSameNodeInfo, iterateAxis, iterateAxisclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSystemIdpublic boolean mayContainSequenceConstructor()
mayContainSequenceConstructor in class StyleElementpublic boolean isInstruction()
isInstruction in class StyleElementpublic void prepareAttributes()
throws XPathException
prepareAttributes in class StyleElementXPathExceptionpublic void validate()
throws XPathException
validate in class StyleElementXPathExceptionprotected void validateChildren()
throws XPathException
validateChildren in class StyleElementXPathExceptionpublic Expression compile(Executable exec) throws XPathException
compile in class StyleElementXPathExceptionpublic DocumentImpl makeStylesheet(PreparedStylesheet pss, StyleNodeFactory nodeFactory) throws XPathException
XPathExceptionpublic int getConstructType()
Location. This method is part of the
InstructionInfo interfacegetConstructType in interface InstructionInfogetConstructType in class StyleElementpublic int getObjectNameCode()
getObjectNameCode in interface InstructionInfogetObjectNameCode in class StyleElementpublic 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