public class SQLQuery
extends ExtensionInstruction
<sql:query column="{$column}" table="{$table}" where="{$where}"
xsl:extension-element-prefixes="sql"/ >
(result with HTML-table-output)
<sql:query column="{$column}" table="{$table}" where="{$where}"
row-tag="TR" column-tag="TD"
separatorType="tag"
xsl:extension-element-prefixes="sql"/ >
| Modifier and Type | Class and Description |
|---|---|
private static class |
SQLQuery.QueryInstruction |
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
colTag
name of element to hold the rows
|
(package private) Expression |
column
selected column(s) to query
|
(package private) Expression |
connection |
(package private) boolean |
disable
name of element to hold the columns
|
(package private) String |
rowTag |
protected int |
sequence |
(package private) Expression |
table
the table(s) to query in
|
(package private) Expression |
where
conditions of query (can be omitted)
|
defaultCollationName, defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError, version| Constructor and Description |
|---|
SQLQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(NodeImpl arg0,
int arg1) |
void |
compact(int arg0) |
Expression |
compile(Executable exec) |
AxisIterator |
enumerateChildren(NodeTest arg0) |
NodeInfo |
getFirstChild() |
NodeInfo |
getLastChild() |
protected NodeImpl |
getNthChild(int arg0) |
protected long |
getSequenceNumber() |
String |
getStringValue() |
CharSequence |
getStringValueCS() |
boolean |
hasChildNodes() |
void |
prepareAttributes() |
void |
useChildrenArray(NodeImpl[] arg0) |
void |
validate() |
allocateLocationId, allocatePatternSlots, allocateSlots, allocateSlots, backwardsCompatibleModeIsEnabled, bindVariable, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, checkWithinTemplate, compileError, compileError, compileError, compileSequenceConstructor, compileWarning, definesExcludedNamespace, definesExtensionElement, fallbackProcessing, fixupReferences, forwardsCompatibleModeIsEnabled, getAttributeSets, getAttributeValue, getCommonChildItemType, getConstructType, getContainingSlotManager, getContainingStylesheet, getDefaultCollationName, getDefaultXPathNamespace, getExecutable, getHostLanguage, getLastChildInstruction, getLineNumber, getLineNumber, getLocationProvider, getNamespaceResolver, getObjectFingerprint, getObjectNameCode, getPrecedence, getPreparedStylesheet, getPrincipalStylesheet, getProperties, getProperty, 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, mayContainSequenceConstructor, postValidate, processAllAttributes, processAttributes, processDefaultCollationAttribute, processDefaultXPathNamespaceAttribute, processExcludedNamespaces, processExtensionElementAttribute, processVersionAttribute, replaceSubExpression, reportAbsence, setLineNumber, setObjectNameCode, setValidationError, substituteFor, typeCheck, typeCheck, undeclaredNamespaceError, validateChildren, validateSubtreecopy, getAttributeList, getAttributeValue, getDeclaredNamespaces, getInScopeNamespaceCodes, getPrefixForURI, getURICodeForPrefix, getURIForPrefix, initialise, iteratePrefixes, sendNamespaceDeclarations, setNamespaceDeclarationsgenerateId, getBaseURI, getDocumentRoot, getNameCode, getNodeKind, getRoot, getSystemId, setNameCode, setSystemIdatomize, compareOrder, equals, getColumnNumber, getConfiguration, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getTypeAnnotation, getTypedValue, getURI, hashCode, isSameNodeInfo, iterateAxis, iterateAxisExpression connection
Expression column
Expression table
Expression where
String rowTag
String colTag
boolean disable
protected int sequence
public void prepareAttributes()
throws XPathException
prepareAttributes in class StyleElementXPathExceptionpublic void validate()
throws XPathException
validate in class ExtensionInstructionXPathExceptionpublic Expression compile(Executable exec)
throws XPathException
compile in class StyleElementXPathExceptionprotected final long getSequenceNumber()
getSequenceNumber in class NodeImplpublic final boolean hasChildNodes()
hasChildNodes in interface NodeInfohasChildNodes in class NodeImplpublic final AxisIterator enumerateChildren(NodeTest arg0)
public final NodeInfo getFirstChild()
getFirstChild in class NodeImplpublic final NodeInfo getLastChild()
getLastChild in class NodeImplprotected final NodeImpl getNthChild(int arg0)
public String getStringValue()
public CharSequence getStringValueCS()
getStringValueCS in interface ItemgetStringValueCS in interface ValueRepresentationgetStringValueCS in class NodeImplpublic void useChildrenArray(NodeImpl[] arg0)
public void addChild(NodeImpl arg0,
int arg1)
public void compact(int arg0)