|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.UnImplNode org.apache.xalan.templates.ElemTemplateElement org.apache.xalan.templates.ElemUse org.apache.xalan.templates.ElemElement org.apache.xalan.templates.ElemAttribute
public class ElemAttribute
Implement xsl:attribute.
&!ELEMENT xsl:attribute %char-template;> &!ATTLIST xsl:attribute name %avt; #REQUIRED namespace %avt; #IMPLIED %space-att; &
Field Summary | |
---|---|
(package private) static long |
serialVersionUID
|
Fields inherited from class org.apache.xalan.templates.ElemElement |
---|
m_name_avt, m_namespace_avt |
Fields inherited from class org.apache.xalan.templates.ElemTemplateElement |
---|
m_docOrderNumber, m_firstChild, m_hasVariableDecl, m_nextSibling, m_parentNode |
Fields inherited from class org.apache.xml.utils.UnImplNode |
---|
actualEncoding, fDocumentURI |
Fields inherited from interface org.w3c.dom.Node |
---|
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 |
Fields inherited from interface org.w3c.dom.Node |
---|
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 |
Fields inherited from interface org.w3c.dom.Node |
---|
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 Summary | |
---|---|
ElemAttribute()
|
Method Summary | |
---|---|
ElemTemplateElement |
appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
(package private) void |
constructNode(java.lang.String nodeName,
java.lang.String prefix,
java.lang.String nodeNamespace,
TransformerImpl transformer)
Construct a node in the result tree. |
java.lang.String |
getNodeName()
Return the node name. |
int |
getXSLToken()
Get an int constant identifying the type of element. |
protected java.lang.String |
resolvePrefix(SerializationHandler rhandler,
java.lang.String prefix,
java.lang.String nodeNamespace)
Resolve the namespace into a prefix. |
void |
setName(AVT v)
Set the "name" attribute. |
protected boolean |
validateNodeName(java.lang.String nodeName)
Validate that the node name is good. |
Methods inherited from class org.apache.xalan.templates.ElemElement |
---|
callChildVisitors, compose, execute, getName, getNamespace, setNamespace |
Methods inherited from class org.apache.xalan.templates.ElemUse |
---|
applyAttrSets, getUseAttributeSets, setUseAttributeSets, setUseAttributeSets |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
Constructor Detail |
---|
public ElemAttribute()
Method Detail |
---|
public int getXSLToken()
getXSLToken
in class ElemElement
Constants
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
getNodeName
in class ElemElement
protected java.lang.String resolvePrefix(SerializationHandler rhandler, java.lang.String prefix, java.lang.String nodeNamespace) throws javax.xml.transform.TransformerException
resolvePrefix
in class ElemElement
rhandler
- The current result tree handler.prefix
- The probable prefix if already known.nodeNamespace
- The namespace, which should not be null.
javax.xml.transform.TransformerException
protected boolean validateNodeName(java.lang.String nodeName)
nodeName
- Name of the node being constructed, which may be null.
void constructNode(java.lang.String nodeName, java.lang.String prefix, java.lang.String nodeNamespace, TransformerImpl transformer) throws javax.xml.transform.TransformerException
constructNode
in class ElemElement
nodeName
- The name of the node, which may be null.prefix
- The prefix for the namespace, which may be null.nodeNamespace
- The namespace of the node, which may be null.transformer
- non-null reference to the the current transform-time state.sourceNode
- non-null reference to the current source node.mode
- reference, which may be null, to the current mode.
javax.xml.transform.TransformerException
public ElemTemplateElement appendChild(ElemTemplateElement newChild)
appendChild
in class ElemTemplateElement
newChild
- Child to append to the list of this node's children
DOMException
public void setName(AVT v)
ElemElement
setName
in class ElemElement
v
- Name attribute to set for this elementElemElement.setName(AVT)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |