WebObjects 5.2

com.webobjects.directtoweb
Class EditComponent

java.lang.Object
  |
  +--com.webobjects.appserver.WOElement
        |
        +--com.webobjects.appserver.WOComponent
              |
              +--com.webobjects.directtoweb.D2WComponent
                    |
                    +--com.webobjects.directtoweb.D2WStatelessComponent
                          |
                          +--com.webobjects.directtoweb.EditComponent
All Implemented Interfaces:
Cloneable, com.webobjects.directtoweb.generation.DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
Direct Known Subclasses:
D2WEditBoolean, D2WEditDate, D2WEditNumber, D2WEditString

public class EditComponent
extends D2WStatelessComponent
implements com.webobjects.directtoweb.generation.DTWGeneration

This class is used internally by other classes in WebObjects and should be considered private. It should not be used, subclassed, or replaced.

See Also:
Serialized Form

Inner classes inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Inner classes inherited from class com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
currentObjectKey
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
EditComponent(WOContext aContext)
          This method is intentionally undocumented.
 
Method Summary
 WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
          This method is intentionally undocumented.
 void setValue(Object anObject)
          This method is intentionally undocumented.
 Object validateTakeValueForKeyPath(Object anObject, String aPath)
          This method is intentionally undocumented.
 void validationFailedWithException(Throwable theException, Object theValue, String theKeyPath)
          This method is intentionally undocumented.
 Object value()
          This method is intentionally undocumented.
 
Methods inherited from class com.webobjects.directtoweb.D2WStatelessComponent
d2wContext, isStateless, localContext, object, reset
 
Methods inherited from class com.webobjects.directtoweb.D2WComponent
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setLocalContext, setObject, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames
 
Methods inherited from class com.webobjects.appserver.WOComponent
appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateValueForKey, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditComponent

public EditComponent(WOContext aContext)
This method is intentionally undocumented. You should never have to invoke or customize it.
Method Detail

replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
                                                          String oldBinding,
                                                          com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
                                                          WOContext aContext)
This method is intentionally undocumented. You should never have to invoke or customize it.
Specified by:
replacementAssociationForAssociation in interface com.webobjects.directtoweb.generation.DTWGeneration
Overrides:
replacementAssociationForAssociation in class D2WComponent

setValue

public void setValue(Object anObject)
This method is intentionally undocumented. You should never have to invoke or customize it.

validateTakeValueForKeyPath

public Object validateTakeValueForKeyPath(Object anObject,
                                          String aPath)
                                   throws NSValidation.ValidationException
This method is intentionally undocumented. You should never have to invoke or customize it.
Overrides:
validateTakeValueForKeyPath in class WOComponent
Following copied from class: com.webobjects.appserver.WOComponent
Parameters:
value - the given value to be validated
keyPath - the key path associated with this value, identifies the property of an object
Returns:
the coerced (assigned) value
Throws:
NSValidation.ValidationException - when the key cannot be validated by validateValueForKey
See Also:
WOComponent.validateValueForKey(Object value, String key)

validationFailedWithException

public void validationFailedWithException(Throwable theException,
                                          Object theValue,
                                          String theKeyPath)
This method is intentionally undocumented. You should never have to invoke or customize it.
Overrides:
validationFailedWithException in class WOComponent
Following copied from class: com.webobjects.appserver.WOComponent
Parameters:
t - the exception thrown during validation
value - the given value to be validated
keyPath - the key path associated with this value, identifies the property of an object

value

public Object value()
This method is intentionally undocumented. You should never have to invoke or customize it.

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.