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, java.lang.Cloneable

public final class AWBindingApi
extends AWApiDeclaration


Field Summary
static java.lang.String Alternates
           
static java.lang.String Default
           
static java.lang.String Direction
           
static java.lang.String Key
           
static java.lang.String Required
           
static java.lang.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
 java.lang.String alternates()
           
 java.lang.String[] alternatesArray()
           
 java.lang.Object defaultValue()
           
 int direction()
           
 java.lang.String directionString()
           
 void init(java.lang.String tagName, java.util.Map bindingsHashtable)
           
 boolean isRequired()
           
 java.lang.String key()
           
 java.lang.String toString()
           
 java.lang.Class type()
           
 java.lang.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.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 java.lang.String Key
See Also:
Constant Field Values

Direction

public static final java.lang.String Direction
See Also:
Constant Field Values

Type

public static final java.lang.String Type
See Also:
Constant Field Values

Required

public static final java.lang.String Required
See Also:
Constant Field Values

Alternates

public static final java.lang.String Alternates
See Also:
Constant Field Values

Default

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

AWBindingApi

public AWBindingApi()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class AWBaseElement

init

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

key

public java.lang.String key()

direction

public int direction()

isRequired

public boolean isRequired()

defaultValue

public java.lang.Object defaultValue()

type

public java.lang.Class type()

alternates

public java.lang.String alternates()

alternatesArray

public java.lang.String[] alternatesArray()

directionString

public java.lang.String directionString()

typeString

public java.lang.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-2014 Ariba, Inc. All Rights Reserved.