ariba.ui.aribaweb.core
Class AWBindingApi

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.AWContainerElement
                  extended by ariba.ui.aribaweb.core.AWApiDeclaration
                      extended by ariba.ui.aribaweb.core.AWBindingApi
All Implemented Interfaces:
AWBindable, AWCycleable, AWCycleableReference, AWElement, AWElementContaining, AWHtmlTemplateParser.LiteralBody, AWHtmlTemplateParser.SupressesEmbeddedKeyPaths, AWVisitable, AWObject, Cloneable

public final class AWBindingApi
extends AWApiDeclaration


Field Summary
static String Alternates
           
static String Default
           
static String Direction
           
static String Key
           
static String Required
           
static String Type
           
 
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
AWBindingApi()
           
 
Method Summary
 String alternates()
           
 String[] alternatesArray()
           
 Object defaultValue()
           
 int direction()
           
 String directionString()
           
 void init(String tagName, Map bindingsHashtable)
           
 boolean isRequired()
           
 String key()
           
 String toString()
           
 Class type()
           
 String typeString()
           
 void validate(AWValidationContext validationContext, AWComponent component)
          Checks for things like valid binding names and definitions.
 
Methods inherited from class ariba.ui.aribaweb.core.AWApiDeclaration
description
 
Methods inherited from class ariba.ui.aribaweb.core.AWContainerElement
add, appendTo, applyValues, contentElement, continueVisit, invokeAction, renderResponse, setContentElement
 
Methods inherited from class ariba.ui.aribaweb.core.AWBindableElement
allBindings, determineInstance, tagName
 
Methods inherited from class ariba.ui.aribaweb.core.AWBaseElement
bareStringContent, clone, determineInstance, lineNumber, setLineNumber, setTemplateName, startVisit, templateName
 
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.util.AWObject
getFieldValue, init, isKindOfClass, setFieldValue
 
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
startVisit
 

Field Detail

Key

public static final String Key
See Also:
Constant Field Values

Direction

public static final String Direction
See Also:
Constant Field Values

Type

public static final String Type
See Also:
Constant Field Values

Required

public static final String Required
See Also:
Constant Field Values

Alternates

public static final String Alternates
See Also:
Constant Field Values

Default

public static final String Default
See Also:
Constant Field Values
Constructor Detail

AWBindingApi

public AWBindingApi()
Method Detail

toString

public String toString()
Overrides:
toString in class AWBaseElement

init

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

key

public String key()

direction

public int direction()

isRequired

public boolean isRequired()

defaultValue

public Object defaultValue()

type

public Class type()

alternates

public String alternates()

alternatesArray

public String[] alternatesArray()

directionString

public String directionString()

typeString

public String typeString()

validate

public void validate(AWValidationContext validationContext,
                     AWComponent component)
Description copied from class: AWBaseElement
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
Overrides:
validate in class AWContainerElement


AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.