ariba.ui.aribaweb.core
Class AWGenericElement

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWBaseElement
          extended by ariba.ui.aribaweb.core.AWBindableElement
              extended by ariba.ui.aribaweb.core.AWGenericElement
All Implemented Interfaces:
AWBindable, AWCycleable, AWCycleableReference, AWElement, AWVisitable, AWObject, java.lang.Cloneable

public final class AWGenericElement
extends AWBindableElement


Field Summary
 
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
 
Constructor Summary
AWGenericElement()
           
 
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, java.lang.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(java.util.Map bindingsHashtable)
          Create BindingDictionary, and convert any "on..." handlers with "x..." handlers
 void init(java.lang.String tagName, java.util.Map bindingsHashtable)
           
 void init(java.lang.String tagName, java.util.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(java.lang.String eventName, java.lang.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 class ariba.ui.aribaweb.core.AWBindableElement
appendTo, determineInstance, tagName, validate
 
Methods inherited from class ariba.ui.aribaweb.core.AWBaseElement
bareStringContent, clone, continueVisit, determineInstance, lineNumber, setLineNumber, setTemplateName, startVisit, templateName, toString
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, ensureFieldValuesClear, getFieldValue, init, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ariba.ui.aribaweb.core.AWElement
clone
 
Methods inherited from interface ariba.ui.aribaweb.core.AWCycleableReference
determineInstance
 
Methods inherited from interface ariba.ui.aribaweb.util.AWObject
getFieldValue, init, isKindOfClass, setFieldValue
 
Methods inherited from interface ariba.ui.aribaweb.core.AWVisitable
continueVisit, startVisit
 

Constructor Detail

AWGenericElement

public AWGenericElement()
Method Detail

init

public void init(java.lang.String tagName,
                 java.util.Map bindingsHashtable)
Specified by:
init in interface AWBindable
Overrides:
init in class AWBindableElement

init

public void init(java.lang.String tagName,
                 java.util.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(java.lang.String eventName,
                                              java.lang.String eventNameAlt)

escapedBindingsDictionary

public static AWBindingDictionary escapedBindingsDictionary(java.util.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,
                                                 java.lang.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-2014 Ariba, Inc. All Rights Reserved.