javax.xml.transform.Source
, javax.xml.transform.SourceLocator
, LocationProvider
, SaxonLocator
, Container
, FingerprintedNode
, Item
, NodeInfo
, ValueRepresentation
, InstructionInfo
, org.xml.sax.Locator
public class LiteralResultElement extends StyleElement
nameCode, root
attributeList, namespaceList
index, NODE_LETTER, parent
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
sequence
defaultCollationName, defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError, version
EMPTY_VALUE_ARRAY
Constructor | Description |
---|---|
LiteralResultElement() |
Modifier and Type | Method | 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.
|
generateId, getBaseURI, getDocumentRoot, getNameCode, getNodeKind, getRoot, getSystemId, setNameCode, setSystemId
copy, getAttributeList, getAttributeValue, getDeclaredNamespaces, getInScopeNamespaceCodes, getPrefixForURI, getURICodeForPrefix, getURIForPrefix, initialise, iteratePrefixes, sendNamespaceDeclarations, setNamespaceDeclarations
getSystemId
atomize, compareOrder, equals, getColumnNumber, getConfiguration, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getTypeAnnotation, getTypedValue, getURI, hashCode, isSameNodeInfo, iterateAxis, iterateAxis
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, useChildrenArray
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, validateSubtree
public boolean mayContainSequenceConstructor()
mayContainSequenceConstructor
in class StyleElement
public boolean isInstruction()
isInstruction
in class StyleElement
public void prepareAttributes() throws XPathException
prepareAttributes
in class StyleElement
XPathException
public void validate() throws XPathException
validate
in class StyleElement
XPathException
protected void validateChildren() throws XPathException
validateChildren
in class StyleElement
XPathException
public Expression compile(Executable exec) throws XPathException
compile
in class StyleElement
XPathException
public DocumentImpl makeStylesheet(PreparedStylesheet pss, StyleNodeFactory nodeFactory) throws XPathException
XPathException
public int getConstructType()
Location
. This method is part of the
InstructionInfo
interfacegetConstructType
in interface InstructionInfo
getConstructType
in class StyleElement
public int getObjectNameCode()
getObjectNameCode
in interface InstructionInfo
getObjectNameCode
in class StyleElement
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 InstructionInfo
getProperty
in class StyleElement
name
- The name of the required property