public class ElemElement extends ElemUse
| Modifier and Type | Field and Description |
|---|---|
protected AVT |
m_name_avt
The name attribute is interpreted as an attribute value template.
|
protected AVT |
m_namespace_avt
If the namespace attribute is present, then it also is interpreted
as an attribute value template.
|
m_docOrderNumber, m_hasVariableDecl, m_parentNodeactualEncoding, fDocumentURIATTRIBUTE_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 |
|---|
ElemElement() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
callChildVisitors(XSLTVisitor visitor,
boolean callAttrs)
Call the children visitors.
|
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.
|
void |
execute(TransformerImpl transformer)
Create an element in the result tree.
|
AVT |
getName()
Get the "name" attribute.
|
AVT |
getNamespace()
Get the "namespace" attribute.
|
String |
getNodeName()
Return the node name.
|
int |
getXSLToken()
Get an int constant identifying the type of element.
|
protected String |
resolvePrefix(SerializationHandler rhandler,
String prefix,
String nodeNamespace)
Resolve the namespace into a prefix.
|
void |
setName(AVT v)
Set the "name" attribute.
|
void |
setNamespace(AVT v)
Set the "namespace" attribute.
|
applyAttrSets, getUseAttributeSets, setUseAttributeSets, setUseAttributeSetsaccept, appendChild, appendChild, callChildVisitors, callVisitors, canAcceptVariables, canStripWhiteSpace, compareTo, containsExcludeResultPrefix, endCompose, error, error, 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, shouldStripWhiteSpaceadoptNode, 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, substringDataprotected AVT m_name_avt
protected AVT m_namespace_avt
public void setName(AVT v)
v - Name attribute to set for this elementpublic AVT getName()
public void setNamespace(AVT v)
v - NameSpace attribute to set for this elementpublic AVT getNamespace()
public void compose(StylesheetRoot sroot) throws TransformerException
compose in class ElemTemplateElementTransformerExceptionpublic int getXSLToken()
getXSLToken in class ElemTemplateElementConstantspublic String getNodeName()
getNodeName in interface NodegetNodeName in class ElemTemplateElementprotected String resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace) throws TransformerException
rhandler - The current result tree handler.prefix - The probable prefix if already known.nodeNamespace - The namespace.TransformerExceptionpublic void execute(TransformerImpl transformer) throws TransformerException
execute in class ElemUsetransformer - non-null reference to the the current transform-time state.TransformerExceptionprotected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs)
callChildVisitors in class ElemTemplateElementvisitor - The visitor whose appropriate method will be called.Copyright © 2017 JBoss by Red Hat. All rights reserved.