|
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
Implement xsl:element
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.
Field Summary | |
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. |
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_parentNode |
Constructor Summary | |
ElemElement()
|
Method Summary | |
void |
execute(TransformerImpl transformer,
org.w3c.dom.Node sourceNode,
QName mode)
Create an element in the result tree. |
AVT |
getName()
Get the "name" attribute. |
AVT |
getNamespace()
Get the "namespace" attribute. |
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. |
void |
setName(AVT v)
Set the "name" attribute. |
void |
setNamespace(AVT v)
Set the "namespace" attribute. |
protected boolean |
validateNodeName(java.lang.String nodeName)
Validate that the node name is good. |
Methods inherited from class weblogic.apache.xalan.templates.ElemUse |
getUseAttributeSets,
setUseAttributeSets,
setUseAttributeSets |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected AVT m_name_avt
protected AVT m_namespace_avt
Constructor Detail |
public ElemElement()
Method Detail |
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 int getXSLToken()
Constants
public java.lang.String getNodeName()
protected boolean validateNodeName(java.lang.String nodeName)
nodeName
- Name of the node being constructed, which may be null.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.public void execute(TransformerImpl transformer, org.w3c.dom.Node sourceNode, QName mode) 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.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |