|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.UnImplNode | +--weblogic.apache.xalan.templates.ElemTemplateElement | +--weblogic.apache.xalan.templates.ElemUse | +--weblogic.apache.xalan.templates.ElemElement | +--weblogic.apache.xalan.templates.ElemAttribute
Implement xsl:attribute.
&!ELEMENT xsl:attribute %char-template;> &!ATTLIST xsl:attribute name %avt; #REQUIRED namespace %avt; #IMPLIED %space-att; &
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Fields inherited from class weblogic.apache.xalan.templates.ElemElement |
m_name_avt,
m_namespace_avt |
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_hasVariableDecl,
m_parentNode |
Constructor Summary | |
ElemAttribute()
|
Method Summary | |
ElemTemplateElement |
appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
void |
execute(TransformerImpl transformer)
Create an attribute 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(ResultTreeHandler rhandler,
java.lang.String prefix,
java.lang.String nodeNamespace)
Resolve the namespace into a prefix. |
protected boolean |
validateNodeName(java.lang.String nodeName)
Validate that the node name is good. |
Methods inherited from class weblogic.apache.xalan.templates.ElemElement |
compose,
getName,
getNamespace,
setName,
setNamespace |
Methods inherited from class weblogic.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 |
Constructor Detail |
public ElemAttribute()
Method Detail |
public int getXSLToken()
Constants
public java.lang.String getNodeName()
public void execute(TransformerImpl transformer) throws javax.xml.transform.TransformerException
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.protected java.lang.String resolvePrefix(ResultTreeHandler rhandler, java.lang.String prefix, java.lang.String nodeNamespace) throws javax.xml.transform.TransformerException
rhandler
- The current result tree handler.prefix
- The probable prefix if already known.nodeNamespace
- The namespace, which should not be null.protected boolean validateNodeName(java.lang.String nodeName)
nodeName
- Name of the node being constructed, which may be null.public ElemTemplateElement appendChild(ElemTemplateElement newChild)
newChild
- Child to append to the list of this node's children
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |