# GWSType class documentation

### Authors

Richard Frith-Macdonald (`rfm@gnu.org`)

Version: 25485

Date: 2007-09-14 13:54:55 +0100 (Fri, 14 Sep 2007)

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

# Software documentation for the GWSType class

## GWSType : NSObject

> Declared in:
>   GWSType.h

Describes a data type, allowing it to be encoded more intelligently.
Method summary

- -name
- -nameSpace
- -propertyForKey:
- -setProperty:forKey:
- -tree

### name

- (NSString*) name;
Returns the name of the type represented by the receiver.

### nameSpace

- (NSString*) nameSpace;
Returns the nameSpace of the type represented by the receiver. This is an empty string if the receiver represents a type in the global namespace.

### propertyForKey:

- (id) propertyForKey: (NSString*)key;
Returns the property set for the specified key or `nil` if none is set.

### setProperty: forKey:

- (void) setProperty: (id)property forKey: (NSString*)key;
Sets the property for the specified key. The property may be `nil` to remove an existing mapping.

### tree

- (GWSElement*) tree;
Return a tree representation of the receiver for output as part of a WSDL document.