Up

GSWeb: Class GSWComponent

Authors

Manuel Guesdon (mguesdon@orange-concept.com)

Version: 1.6

Date: 2004/04/06 11:18:33

Copyright: (C) 1999-2004 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the GSWComponent class
  2. Software documentation for the GSWComponent(GSWActionInvocation) category
  3. Software documentation for the GSWComponent(GSWActionResults) category
  4. Software documentation for the GSWComponent(GSWCachingPolicy) category
  5. Software documentation for the GSWComponent(GSWComponentA) category
  6. Software documentation for the GSWComponent(GSWComponentC) category
  7. Software documentation for the GSWComponent(GSWComponentClassA) category
  8. Software documentation for the GSWComponent(GSWComponentD) category
  9. Software documentation for the GSWComponent(GSWComponentJ) category
  10. Software documentation for the GSWComponent(GSWComponentK) category
  11. Software documentation for the GSWComponent(GSWComponentL) category
  12. Software documentation for the GSWComponent(GSWConveniences) category
  13. Software documentation for the GSWComponent(GSWLogging) category
  14. Software documentation for the GSWComponent(GSWRequestHandling) category
  15. Software documentation for the GSWComponent(GSWResourceManagement) category
  16. Software documentation for the GSWComponent(GSWStatistics) category
  17. Software documentation for the GSWComponent(GSWSynchronizing) category
  18. Software documentation for the GSWComponent(GSWTemplateParsing) category
  19. Software documentation for the GSWComponent(GSWTemplateParsingOldFn) category
  20. Software documentation for the GSWComponent(GSWVerifyAPI) category

Software documentation for the GSWComponent class

GSWComponent : GSWElement

Declared in:
Foundation/GSWComponent.h
Conforms to:
NSCoding
NSCopying
Standards:

Description forthcoming.


Instance Variables

Method summary

_templateNameFromClass: 

- (NSString*) _templateNameFromClass: (Class)_class;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


baseURL 

- (NSString*) baseURL;

Description forthcoming.


defaultAssociations 

- (NSDictionary*) defaultAssociations;

Description forthcoming.


frameworkName 

- (NSString*) frameworkName;

Description forthcoming.


name 

- (NSString*) name;

Description forthcoming.


path 

- (NSString*) path;

Description forthcoming.


setDefaultAssociations: 

- (void) setDefaultAssociations: (NSDictionary*)defaultAssociations;

Description forthcoming.


setUserAssociations: 

- (void) setUserAssociations: (NSDictionary*)userAssociations;

Description forthcoming.


setUserDictionary: 

- (void) setUserDictionary: (NSDictionary*)userDictionary;

Description forthcoming.


userAssociations 

- (NSDictionary*) userAssociations;

Description forthcoming.


userDictionary 

- (NSDictionary*) userDictionary;

Description forthcoming.




Instance Variables for GSWComponent Class

_associations

@protected NSArray* _associations;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_associationsKeys

@protected NSArray* _associationsKeys;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_childTemplate

@protected GSWElement* _childTemplate;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_componentDefinition

@protected GSWComponentDefinition* _componentDefinition;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_context

@protected GSWContext* _context;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_defaultAssociations

@protected NSDictionary* _defaultAssociations;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_isCachingEnabled

@protected BOOL _isCachingEnabled;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_isComponentToParentSynchronized

@protected BOOL _isComponentToParentSynchronized;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_isPage

@protected BOOL _isPage;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_isParentToComponentSynchronized

@protected BOOL _isParentToComponentSynchronized;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_name

@protected NSString* _name;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_parent

@protected GSWComponent* _parent;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_session

@protected GSWSession* _session;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_subComponents

@protected NSMutableDictionary* _subComponents;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_template

@protected GSWElement* _template;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_templateName

@protected NSString* _templateName;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_userAssociations

@protected NSDictionary* _userAssociations;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_userDictionary

@protected NSDictionary* _userDictionary;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_validationFailureMessages

@protected NSMutableDictionary* _validationFailureMessages;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Software documentation for the GSWComponent(GSWActionInvocation) category

GSWComponent(GSWActionInvocation)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

parent 

- (GSWComponent*) parent;

Description forthcoming.


parents 

- (NSArray*) parents;

Description forthcoming.


parentsClasses 

- (NSArray*) parentsClasses;

Description forthcoming.


performParentAction: 

- (id) performParentAction: (NSString*)attribute;

Description forthcoming.


topParent 

- (GSWComponent*) topParent;

Description forthcoming.


Software documentation for the GSWComponent(GSWActionResults) category

GSWComponent(GSWActionResults)

Declared in:
Foundation/GSWComponent.h
Conforms to:
GSWActionResults
Standards:

Description forthcoming.

Method summary

generateResponse 

- (GSWResponse*) generateResponse;

Description forthcoming.


Software documentation for the GSWComponent(GSWCachingPolicy) category

GSWComponent(GSWCachingPolicy)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

isCachingEnabled 

- (BOOL) isCachingEnabled;

Description forthcoming.


setCachingEnabled: 

- (void) setCachingEnabled: (BOOL)flag;

Description forthcoming.


Software documentation for the GSWComponent(GSWComponentA) category

GSWComponent(GSWComponentA)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

_childTemplate 

- (GSWElement*) _childTemplate;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_componentDefinition 

- (GSWComponentDefinition*) _componentDefinition;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_isPage 

- (BOOL) _isPage;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_setContext: 

- (void) _setContext: (GSWContext*)aContext;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_setIsPage: 

- (void) _setIsPage: (BOOL)isPage;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_template 

- (GSWElement*) _template;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_templateName 

- (NSString*) _templateName;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


declarationName 

- (NSString*) declarationName;

Description forthcoming.


setParent: associationsKeys: associations: template: 

- (void) setParent: (GSWComponent*)parent associationsKeys: (NSArray*)associationsKeys associations: (NSArray*)associations template: (GSWElement*)template;

Description forthcoming.


synchronizeComponentToParent 

- (void) synchronizeComponentToParent;

Description forthcoming.


synchronizeParentToComponent 

- (void) synchronizeParentToComponent;

Description forthcoming.


Software documentation for the GSWComponent(GSWComponentC) category

GSWComponent(GSWComponentC)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

makeAParentPerformSelectorIfPossible: 

- (id) makeAParentPerformSelectorIfPossible: (SEL)aSelector;

Description forthcoming.


makeAParentPerformSelectorIfPossible: withObject: 

- (id) makeAParentPerformSelectorIfPossible: (SEL)aSelector withObject: (id)object;

Description forthcoming.


makeAParentPerformSelectorIfPossible: withObject: withObject: 

- (id) makeAParentPerformSelectorIfPossible: (SEL)aSelector withObject: (id)object1 withObject: (id)object2;

Description forthcoming.


makeParentsPerformSelectorIfPossible: 

- (void) makeParentsPerformSelectorIfPossible: (SEL)aSelector;

Description forthcoming.


makeParentsPerformSelectorIfPossible: withObject: 

- (void) makeParentsPerformSelectorIfPossible: (SEL)aSelector withObject: (id)object;

Description forthcoming.


makeParentsPerformSelectorIfPossible: withObject: withObject: 

- (void) makeParentsPerformSelectorIfPossible: (SEL)aSelector withObject: (id)object1 withObject: (id)object2;

Description forthcoming.


makeSubComponentsPerformSelectorIfPossible: 

- (void) makeSubComponentsPerformSelectorIfPossible: (SEL)aSelector;

Description forthcoming.


makeSubComponentsPerformSelectorIfPossible: withObject: 

- (void) makeSubComponentsPerformSelectorIfPossible: (SEL)aSelector withObject: (id)object;

Description forthcoming.


makeSubComponentsPerformSelectorIfPossible: withObject: withObject: 

- (void) makeSubComponentsPerformSelectorIfPossible: (SEL)aSelector withObject: (id)object1 withObject: (id)object2;

Description forthcoming.


setSubComponent: forElementID: 

- (void) setSubComponent: (GSWComponent*)component forElementID: (NSString*)elementId;

Description forthcoming.


subComponentForElementID: 

- (GSWComponent*) subComponentForElementID: (NSString*)elementId;

Description forthcoming.


Software documentation for the GSWComponent(GSWComponentClassA) category

GSWComponent(GSWComponentClassA)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

_registerObserver: 

+ (void) _registerObserver: (id)observer;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWComponent(GSWComponentD) category

GSWComponent(GSWComponentD)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

_associationWithName: 

- (GSWAssociation*) _associationWithName: (NSString*)parentBindingName;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWComponent(GSWComponentJ) category

GSWComponent(GSWComponentJ)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

_uniqueID 

- (NSString*) _uniqueID;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWComponent(GSWComponentK) category

GSWComponent(GSWComponentK)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

validateValue: forKey: 

+ (id) validateValue: (id*)valuePtr forKey: (id)key;

Description forthcoming.


_generateResponseInContext: 

- (GSWResponse*) _generateResponseInContext: (GSWContext*)aContext;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


validateValue: forKey: 

- (id) validateValue: (id*)valuePtr forKey: (id)key;

Description forthcoming.


Software documentation for the GSWComponent(GSWComponentL) category

GSWComponent(GSWComponentL)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

_urlForResourceNamed: ofType: 

- (NSString*) _urlForResourceNamed: (NSString*)aName ofType: (NSString*)extension;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


pathForComponentResourceNamed: ofType: 

- (NSString*) pathForComponentResourceNamed: (NSString*)aName ofType: (NSString*)type;

Description forthcoming.


pathForResourceNamed: ofType: 

- (NSString*) pathForResourceNamed: (NSString*)aName ofType: (NSString*)extension;

Description forthcoming.


pathForResourceNamed: ofType: inFramework: 

- (NSString*) pathForResourceNamed: (NSString*)aName ofType: (NSString*)extension inFramework: (NSString*)frameworkName;

Description forthcoming.


stringForKey: inTableNamed: withDefaultValue: 

- (NSString*) stringForKey: (id)key inTableNamed: (NSString*)aName withDefaultValue: (NSString*)defaultValue;

Description forthcoming.


stringForKey: inTableNamed: withDefaultValue: inFramework: 

- (NSString*) stringForKey: (id)key inTableNamed: (NSString*)aName withDefaultValue: (NSString*)defaultValue inFramework: (NSString*)frameworkName;

Description forthcoming.


stringsTableArrayNamed: 

- (NSArray*) stringsTableArrayNamed: (NSString*)aName;

Description forthcoming.


stringsTableArrayNamed: inFramework: 

- (NSArray*) stringsTableArrayNamed: (NSString*)aName inFramework: (NSString*)frameworkName;

Description forthcoming.


stringsTableNamed: 

- (NSDictionary*) stringsTableNamed: (NSString*)aName;

Description forthcoming.


stringsTableNamed: inFramework: 

- (NSDictionary*) stringsTableNamed: (NSString*)aName inFramework: (NSString*)frameworkName;

Description forthcoming.


urlForResourceNamed: ofType: 

- (NSString*) urlForResourceNamed: (NSString*)aName ofType: (NSString*)extension;

Description forthcoming.


urlForResourceNamed: ofType: inFramework: 

- (NSString*) urlForResourceNamed: (NSString*)aName ofType: (NSString*)extension inFramework: (NSString*)frameworkName;

Description forthcoming.


Software documentation for the GSWComponent(GSWConveniences) category

GSWComponent(GSWConveniences)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

application 

- (GSWApplication*) application;

Description forthcoming.


context 

- (GSWContext*) context;

Description forthcoming.


hasSession 

- (BOOL) hasSession;

Description forthcoming.


languages 

- (NSArray*) languages;

Description forthcoming.


pageWithName: 

- (GSWComponent*) pageWithName: (NSString*)aName;

Description forthcoming.


session 

- (GSWSession*) session;

Description forthcoming.


Software documentation for the GSWComponent(GSWLogging) category

GSWComponent(GSWLogging)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

logWithFormat: ,...

+ (void) logWithFormat: (NSString*)format,...;

Description forthcoming.


_debugWithString: 

- (void) _debugWithString: (NSString*)string;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


debugWithFormat: ,...

- (void) debugWithFormat: (NSString*)format,...;

Description forthcoming.


logWithFormat: ,...

- (void) logWithFormat: (NSString*)format,...;

Description forthcoming.


logWithFormat: arguments: 

- (void) logWithFormat: (NSString*)format arguments: (va_list)argList;

Description forthcoming.


validationFailedWithException: value: keyPath: 

- (void) validationFailedWithException: (NSException*)exception value: (id)_value keyPath: (id)_keyPath;

Description forthcoming.


Software documentation for the GSWComponent(GSWRequestHandling) category

GSWComponent(GSWRequestHandling)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

allValidationFailureMessages 

- (NSArray*) allValidationFailureMessages;

Description forthcoming.


appendToResponse: inContext: 

- (void) appendToResponse: (GSWResponse*)aResponse inContext: (GSWContext*)aContext;

Description forthcoming.


awake 

- (void) awake;

Description forthcoming.


awakeInContext: 

- (void) awakeInContext: (GSWContext*)aContext;

Description forthcoming.


ensureAwakeInContext: 

- (void) ensureAwakeInContext: (GSWContext*)aContext;

Description forthcoming.


handleValidationExceptionDefault 

- (NSString*) handleValidationExceptionDefault;

Description forthcoming.


invokeActionForRequest: inContext: 

- (GSWElement*) invokeActionForRequest: (GSWRequest*)aRequest inContext: (GSWContext*)aContext;

Description forthcoming.


isValidationFailure 

- (BOOL) isValidationFailure;

Description forthcoming.


setValidationFailureMessage: forElement: 

- (void) setValidationFailureMessage: (NSString*)message forElement: (GSWDynamicElement*)element;

Description forthcoming.


sleep 

- (void) sleep;

Description forthcoming.


sleepInContext: 

- (void) sleepInContext: (GSWContext*)aContext;

Description forthcoming.


takeValuesFromRequest: inContext: 

- (void) takeValuesFromRequest: (GSWRequest*)request inContext: (GSWContext*)aContext;

Description forthcoming.


validationFailureMessageForElement: 

- (NSString*) validationFailureMessageForElement: (GSWDynamicElement*)element;

Description forthcoming.


validationFailureMessages 

- (NSDictionary*) validationFailureMessages;

Description forthcoming.


Software documentation for the GSWComponent(GSWResourceManagement) category

GSWComponent(GSWResourceManagement)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

templateWithName: 

- (GSWElement*) templateWithName: (NSString*)aName;

Description forthcoming.


Software documentation for the GSWComponent(GSWStatistics) category

GSWComponent(GSWStatistics)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

descriptionForResponse: inContext: 

- (NSString*) descriptionForResponse: (GSWResponse*)response inContext: (GSWContext*)aContext;

Description forthcoming.


Software documentation for the GSWComponent(GSWSynchronizing) category

GSWComponent(GSWSynchronizing)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

bindingAssociations 

- (NSDictionary*) bindingAssociations;

Description forthcoming.


hasBinding: 

- (BOOL) hasBinding: (NSString*)parentBindingName;

Description forthcoming.


setValue: forBinding: 

- (void) setValue: (id)value forBinding: (NSString*)parentBindingName;

Description forthcoming.


synchronizesComponentToParentVariablesWithBindings 

- (BOOL) synchronizesComponentToParentVariablesWithBindings;

Description forthcoming.


synchronizesParentToComponentVariablesWithBindings 

- (BOOL) synchronizesParentToComponentVariablesWithBindings;

Description forthcoming.


synchronizesVariablesWithBindings 

- (BOOL) synchronizesVariablesWithBindings;

Description forthcoming.


valueForBinding: 

- (id) valueForBinding: (NSString*)parentBindingName;

Description forthcoming.


Software documentation for the GSWComponent(GSWTemplateParsing) category

GSWComponent(GSWTemplateParsing)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

templateWithHTMLString: declarationString: languages: 

+ (GSWElement*) templateWithHTMLString: (NSString*)htmlString declarationString: (NSString*)declarationString languages: (NSArray*)languages;

Description forthcoming.


Software documentation for the GSWComponent(GSWTemplateParsingOldFn) category

GSWComponent(GSWTemplateParsingOldFn)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

templateWithHTMLString: declarationString: 

+ (GSWElement*) templateWithHTMLString: (NSString*)htmlString declarationString: (NSString*)declarationString;

Description forthcoming.


Software documentation for the GSWComponent(GSWVerifyAPI) category

GSWComponent(GSWVerifyAPI)

Declared in:
Foundation/GSWComponent.h
Standards:

Description forthcoming.

Method summary

validateAPIAssociations 

- (void) validateAPIAssociations;

Description forthcoming.



Up