Up

GSWeb: Class GSWTemporaryElement

Authors

Manuel Guesdon (mguesdon@orange-concept.com)

Version: 1.1

Date: 2004/03/25 08:25:48

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

Software documentation for the GSWTemporaryElement class

GSWTemporaryElement : GSWElement

Declared in:
Foundation/GSWTemporaryElement.h
Standards:

Temporary element which will be converted to a dynamic element


Instance Variables

Method summary

temporaryElementOfType: withProperties: templateInfo: parent: 

+ (GSWTemporaryElement*) temporaryElementOfType: (GSWHTMLRawParserTagType)tagType withProperties: (NSDictionary*)tagProperties templateInfo: (NSString*)templateInfo parent: (GSWTemporaryElement*)parent;

Description forthcoming.


_elementWithDeclaration: name: properties: template: languages: 

- (GSWElement*) _elementWithDeclaration: (GSWDeclaration*)declaration name: (NSString*)name properties: (NSDictionary*)properties template: (GSWElement*)template languages: (NSArray*)languages;

Returns real dynamic element using declaration May raise exception if element can't be created
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.


addChildElement: 

- (void) addChildElement: (GSWElement*)element;

adds element to children


dynamicElementWithDeclarations: languages: 

- (GSWElement*) dynamicElementWithDeclarations: (NSDictionary*)declarations languages: (NSArray*)languages;

Returns real dynamic element usinf declarations to find element type Raise an exception if element name is not found or if no declaration is found for that element


initWithType: withProperties: templateInfo: parent: 

- (id) initWithType: (GSWHTMLRawParserTagType)tagType withProperties: (NSDictionary*)properties templateInfo: (NSString*)templateInfo parent: (GSWTemporaryElement*)parent;

Description forthcoming.


name 

- (NSString*) name;

Return Element Name, taken from properties nil if none is found


parentElement 

- (GSWTemporaryElement*) parentElement;

Returns parent element


template 

- (GSWElement*) template;

Create a GSWElement representing child elements tree


templateInfo 

- (NSString*) templateInfo;

Returns template information




Instance Variables for GSWTemporaryElement Class

_children

@protected NSMutableArray* _children;

Children
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 GSWTemporaryElement* _parent;

Parent tag (not retained)
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.


_properties

@protected NSDictionary* _properties;

Tag properties
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.


_templateInfo

@protected NSString* _templateInfo;

Parser/Template information (tag position,....)
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.






Up