corelib.services.web.components
Class GenericTag
java.lang.Object
corelib.services.web.components.WebComponent
corelib.services.web.components.VisualComponent
corelib.services.web.components.GenericTag
public class GenericTag
- extends VisualComponent
Generic tags are tags that contains a runAt="server" attribute. For this tags, the JavaBeans standard is not
applicable. This class expose two methods for manipulate the attributes of the considered tag : getAttibute
and setAttribute.
- Since:
- 1.0
- Author:
- Liard Dominique
- See Also:
WebComponent
|
Constructor Summary |
GenericTag(java.lang.String tagName)
Create a GenericTag instance. |
|
Method Summary |
java.lang.String |
getAttribute(java.lang.String attributeName)
|
java.lang.String |
getTagName()
|
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
|
| Methods inherited from class corelib.services.web.components.VisualComponent |
component_postRender, component_preRender, component_renderBegin, component_renderChildren, component_renderEnd, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getSharedAttributesHtmlEncoding, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible |
| Methods inherited from class corelib.services.web.components.WebComponent |
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericTag
public GenericTag(java.lang.String tagName)
- Create a GenericTag instance. This constructor accept a tag name as parameter. If this parameter is
null
a NullPointerException is thrown.
- Parameters:
tagName - the name of the considered XML tag.
- Throws:
java.lang.NullPointerException - if tagName parameter is null.- Since:
- 1.0
getTagName
public java.lang.String getTagName()
getAttribute
public java.lang.String getAttribute(java.lang.String attributeName)
setAttribute
public void setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.
Copyright 2012 Infini Software - All Rights Reserved.