ariba.ui.aribaweb.core
Class AWBaseElement
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWBaseElement
- All Implemented Interfaces:
- AWCycleable, AWCycleableReference, AWElement, AWVisitable, AWObject, java.lang.Cloneable
- Direct Known Subclasses:
- AWBareString, AWBindableElement, AWParentTemplate, AWTemplate
public abstract class AWBaseElement
- extends AWBaseObject
- implements AWElement
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 |
void |
appendTo(java.lang.StringBuffer buffer)
This default implementation is not intended to be executed -- just here for backward compatibility
to avoid forcing old code to update to new api's
(which was required when no default implementation was provided). |
void |
applyValues(AWRequestContext requestContext,
AWComponent component)
The receiver should take any form values (or query string parameters) that it owns from the
AWRequestContext.request() . |
java.lang.String |
bareStringContent()
|
java.lang.Object |
clone()
|
void |
continueVisit(AWVisitor object)
|
AWElement |
determineInstance(java.lang.String elementName,
java.util.Map bindingsHashtable,
java.lang.String templateName,
int lineNumber)
|
AWElement |
determineInstance(java.lang.String tagName,
java.lang.String translatedClassName,
java.util.Map bindingsHashtable,
java.lang.String templateName,
int lineNumber)
|
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. |
int |
lineNumber()
|
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
void |
setLineNumber(int line)
|
void |
setTemplateName(java.lang.String name)
|
void |
startVisit(AWVisitor visitor)
|
java.lang.String |
templateName()
|
java.lang.String |
toString()
|
void |
validate(AWValidationContext validationContext,
AWComponent component)
Checks for things like valid binding names and definitions. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AWBaseElement
public AWBaseElement()
determineInstance
public AWElement determineInstance(java.lang.String elementName,
java.util.Map bindingsHashtable,
java.lang.String templateName,
int lineNumber)
- Specified by:
determineInstance
in interface AWCycleableReference
determineInstance
public AWElement determineInstance(java.lang.String tagName,
java.lang.String translatedClassName,
java.util.Map bindingsHashtable,
java.lang.String templateName,
int lineNumber)
- Specified by:
determineInstance
in interface AWCycleableReference
setTemplateName
public void setTemplateName(java.lang.String name)
templateName
public java.lang.String templateName()
setLineNumber
public void setLineNumber(int line)
lineNumber
public int lineNumber()
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
- 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
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
- Returns:
- the response for the action
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
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
appendTo
public void appendTo(java.lang.StringBuffer buffer)
- This default implementation is not intended to be executed -- just here for backward compatibility
to avoid forcing old code to update to new api's
(which was required when no default implementation was provided).
- Specified by:
appendTo
in interface AWElement
- Parameters:
buffer
-
validate
public void validate(AWValidationContext validationContext,
AWComponent component)
- Checks for things like valid binding names and definitions. Logs all errors and warnings.
This is the default, which is to do nothing.
- Specified by:
validate
in interface AWElement
clone
public java.lang.Object clone()
- Specified by:
clone
in interface AWElement
- Overrides:
clone
in class java.lang.Object
startVisit
public void startVisit(AWVisitor visitor)
- Specified by:
startVisit
in interface AWVisitable
continueVisit
public void continueVisit(AWVisitor object)
- Specified by:
continueVisit
in interface AWVisitable
bareStringContent
public java.lang.String bareStringContent()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.