public class ElemSort extends ElemTemplateElement
m_docOrderNumber, m_hasVariableDecl, m_parentNode
actualEncoding, fDocumentURI
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
ElemSort() |
Modifier and Type | Method and Description |
---|---|
Node |
appendChild(Node newChild)
Add a child to the child list.
|
void |
compose(StylesheetRoot sroot)
This function is called after everything else has been
recomposed, and allows the template to set remaining
values that may be based on some other property that
depends on recomposition.
|
AVT |
getCaseOrder()
Get the "case-order" attribute.
|
AVT |
getDataType()
Get the "data-type" attribute.
|
AVT |
getLang()
Get the "lang" attribute.
|
String |
getNodeName()
Return the node name.
|
AVT |
getOrder()
Get the "order" attribute.
|
XPath |
getSelect()
Get the "select" attribute.
|
int |
getXSLToken()
Get an int constant identifying the type of element.
|
void |
setCaseOrder(AVT v)
Set the "case-order" attribute.
|
void |
setDataType(AVT v)
Set the "data-type" attribute.
|
void |
setLang(AVT v)
Set the "lang" attribute.
|
void |
setOrder(AVT v)
Set the "order" attribute.
|
void |
setSelect(XPath v)
Set the "select" attribute.
|
accept, appendChild, callChildVisitors, callChildVisitors, callVisitors, canAcceptVariables, canStripWhiteSpace, compareTo, containsExcludeResultPrefix, endCompose, error, error, execute, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getBaseIdentifier, getChildNodes, getColumnNumber, getDeclaredPrefixes, getDOMBackPointer, getEndColumnNumber, getEndLineNumber, getFirstChild, getFirstChildElem, getLastChild, getLastChildElem, getLength, getLineNumber, getLocalName, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNextSiblingElem, getNodeType, getOwnerDocument, getOwnerXSLTemplate, getParentElem, getParentNode, getParentNodeElem, getPreviousSibling, getPreviousSiblingElem, getPublicId, getStylesheet, getStylesheetComposed, getStylesheetRoot, getSystemId, getTagName, getUid, getXmlSpace, handlesNullPrefixes, hasChildNodes, hasTextLitOnly, hasVariableDecl, insertBefore, isCompiledTemplate, item, recompose, removeChild, replaceChild, replaceChild, resolvePrefixTables, runtimeInit, setDOMBackPointer, setEndLocaterInfo, setLocaterInfo, setParentElem, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpace
adoptNode, appendData, cloneNode, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, getActualEncoding, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getFeature, getImplementation, getInputEncoding, getNamespaceURI, getNodeValue, getOwnerElement, getPrefix, getSchemaTypeInfo, getSpecified, getStrictErrorChecking, getTextContent, getUserData, getWholeText, getXmlEncoding, getXmlStandalone, getXmlVersion, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertData, isDefaultNamespace, isEqualNode, isId, isSameNode, isSupported, isWhitespaceInElementContent, lookupNamespaceURI, lookupPrefix, normalize, normalizeDocument, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, renameNode, replaceData, replaceWholeText, setActualEncoding, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setDocumentURI, setIdAttribute, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInputEncoding, setNodeValue, setPrefix, setStrictErrorChecking, setTextContent, setUserData, setValue, setXmlEncoding, setXmlStandalone, setXmlVersion, splitText, substringData
public void setSelect(XPath v)
v
- Value to set for the "select" attributepublic XPath getSelect()
public void setLang(AVT v)
v
- The value to set for the "lang" attributepublic AVT getLang()
public void setDataType(AVT v)
data-type
specifies the data type of the
strings; the following values are allowed:
text
specifies that the sort keys should be
sorted lexicographically in the culturally correct manner for the
language specified by lang
.
number
specifies that the sort keys should be
converted to numbers and then sorted according to the numeric value;
the sort key is converted to a number as if by a call to the
number function; the lang
attribute is ignored.
The default value is text
.
NOTE: The XSL Working Group plans that future versions of XSLT will leverage XML Schemas to define further values for this attribute.
v
- Value to set for the "data-type" attributepublic AVT getDataType()
data-type
specifies the data type of the
strings; the following values are allowed:
text
specifies that the sort keys should be
sorted lexicographically in the culturally correct manner for the
language specified by lang
.
number
specifies that the sort keys should be
converted to numbers and then sorted according to the numeric value;
the sort key is converted to a number as if by a call to the
number function; the lang
attribute is ignored.
The default value is text
.
NOTE: The XSL Working Group plans that future versions of XSLT will leverage XML Schemas to define further values for this attribute.
public void setOrder(AVT v)
v
- The value to set for the "order" attributepublic AVT getOrder()
public void setCaseOrder(AVT v)
v
- The value to set for the "case-order" attributepublic AVT getCaseOrder()
public int getXSLToken()
getXSLToken
in class ElemTemplateElement
Constants
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class ElemTemplateElement
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
appendChild
in class ElemTemplateElement
newChild
- Child to add to the child listDOMException
public void compose(StylesheetRoot sroot) throws TransformerException
compose
in class ElemTemplateElement
TransformerException
Copyright © 2018 JBoss by Red Hat. All rights reserved.