ariba.ui.aribaweb.core
Class AWGenericElement
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWBaseElement
ariba.ui.aribaweb.core.AWBindableElement
ariba.ui.aribaweb.core.AWGenericElement
- All Implemented Interfaces:
- AWBindable, AWCycleable, AWCycleableReference, AWElement, AWVisitable, AWObject, Cloneable
public final class AWGenericElement
- extends AWBindableElement
| Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
|
Method Summary |
boolean |
_doOmitTags()
|
AWEncodedString |
_encodedTagName()
|
AWBinding |
_nameBinding()
|
AWBinding |
_omitOrEmitTags()
|
AWBinding |
_tagName()
|
AWBindingDictionary |
_unrecognizedBindingsDictionary()
|
AWBinding[] |
allBindings()
|
static void |
appendHtmlAttributeToResponse(AWResponse response,
AWComponent component,
AWEncodedString bindingName,
AWEncodedString attributeValue)
|
static void |
appendHtmlAttributeToResponse(AWResponse response,
AWComponent component,
String bindingName,
AWEncodedString attributeValue)
|
static void |
appendOtherBindings(AWResponse response,
AWComponent component,
AWBindingDictionary unrecognizedBindingsDictionary,
AWBinding otherBindings)
|
void |
applyValues(AWRequestContext requestContext,
AWComponent component)
The receiver should take any form values (or query string parameters) that it owns from the
AWRequestContext.request(). |
static AWBindingDictionary |
escapedBindingsDictionary(Map bindingsHashtable)
Create BindingDictionary, and convert any "on..." handlers with "x..." handlers |
void |
init(String tagName,
Map bindingsHashtable)
|
void |
init(String tagName,
Map bindingsHashtable,
boolean isContainer)
|
AWResponseGenerating |
invokeAction(AWRequestContext requestContext,
AWComponent component)
The receiver should determine if it is the intended recipient of the current action
(by checking the AWRequestContext.request() AWRequest.senderId()) and,
if so, handle the action and return the result. |
static void |
registerBindingTranslation(String eventName,
String eventNameAlt)
|
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
void |
renderResponse(AWRequestContext requestContext,
AWComponent component,
AWEncodedString tagName)
|
AWEncodedString |
tagNameInComponent(AWComponent component)
|
| Methods inherited from interface ariba.ui.aribaweb.core.AWElement |
clone |
AWGenericElement
public AWGenericElement()
init
public void init(String tagName,
Map bindingsHashtable)
- Specified by:
init in interface AWBindable- Overrides:
init in class AWBindableElement
init
public void init(String tagName,
Map bindingsHashtable,
boolean isContainer)
_tagName
public AWBinding _tagName()
_omitOrEmitTags
public AWBinding _omitOrEmitTags()
_nameBinding
public AWBinding _nameBinding()
_encodedTagName
public AWEncodedString _encodedTagName()
_unrecognizedBindingsDictionary
public AWBindingDictionary _unrecognizedBindingsDictionary()
_doOmitTags
public boolean _doOmitTags()
allBindings
public AWBinding[] allBindings()
- Specified by:
allBindings in interface AWBindable- Overrides:
allBindings in class AWBindableElement
applyValues
public void applyValues(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should take any form values (or query string parameters) that it owns from the
AWRequestContext.request().
- Specified by:
applyValues in interface AWCycleable- Overrides:
applyValues in class AWBaseElement
- Parameters:
requestContext - the context for the current request.component - the current parent component
invokeAction
public AWResponseGenerating invokeAction(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should determine if it is the intended recipient of the current action
(by checking the
AWRequestContext.request() AWRequest.senderId()) and,
if so, handle the action and return the result.
- Specified by:
invokeAction in interface AWCycleable- Overrides:
invokeAction in class AWBaseElement
- Parameters:
requestContext - the context for the current request.component - the current parent component
- Returns:
- the response for the action
tagNameInComponent
public AWEncodedString tagNameInComponent(AWComponent component)
registerBindingTranslation
public static void registerBindingTranslation(String eventName,
String eventNameAlt)
escapedBindingsDictionary
public static AWBindingDictionary escapedBindingsDictionary(Map bindingsHashtable)
- Create BindingDictionary, and convert any "on..." handlers with "x..." handlers
appendHtmlAttributeToResponse
public static void appendHtmlAttributeToResponse(AWResponse response,
AWComponent component,
AWEncodedString bindingName,
AWEncodedString attributeValue)
appendHtmlAttributeToResponse
public static void appendHtmlAttributeToResponse(AWResponse response,
AWComponent component,
String bindingName,
AWEncodedString attributeValue)
appendOtherBindings
public static void appendOtherBindings(AWResponse response,
AWComponent component,
AWBindingDictionary unrecognizedBindingsDictionary,
AWBinding otherBindings)
renderResponse
public void renderResponse(AWRequestContext requestContext,
AWComponent component,
AWEncodedString tagName)
renderResponse
public void renderResponse(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should render its content to the
AWRequestContext.response()
- Specified by:
renderResponse in interface AWCycleable- Overrides:
renderResponse in class AWBaseElement
- Parameters:
requestContext - the context for the current request.component - the current parent component
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.