Indivo Framework (iOS)
An iOS framework for Apps connecting to Indivo server
 All Classes Functions Variables Properties Pages
Class Methods | List of all members
INNormalizedString Class Reference

A class to represent "xs:normalizedString" elements. More...

#import <INNormalizedString.h>

Inherits INString.

Inherited by INGenderType, and INPhoneType.

Class Methods

(NSArray *) + restrictedTo
 Subclasses can be restricted to certain possible strings. More...
 
- Class Methods inherited from INString
(id) + newWithString:
 
- Class Methods inherited from INObject
(NSArray *) + attributeNames
 The properties whose names are returned here are expected to be XML node attributes rather than complete nodes. More...
 
(NSString *) + flatXMLNameForPropertyName:
 Objects have the ability to use a different name from the property name for flat XML "name" attributes. More...
 
(id) + newWithNodeName:
 Returns a fresh node with nodeName set. More...
 
(NSString *) + nodeName
 
(NSString *) + nodeType
 
(id) + objectFromAttribute:inNode:
 This method returns an object created from the string contents of a node attribute. More...
 
(id) + objectFromNode:
 This method returns an object created representing the the node. More...
 

Additional Inherited Members

- Instance Methods inherited from INObject
(NSString *) - asAttribute
 Returns the value of this node usable as attribute to another node. More...
 
(NSString *) - attributeValue
 Returns the string that goes into the attribute value. More...
 
(NSArray *) - flatXMLPartsWithPrefix:
 Indivo 2.0's ugly flat XML format needs this. More...
 
(id) - initFromNode:
 The designated initializer. More...
 
(NSString *) - innerXML
 Returns the XML of all child nodes. More...
 
(BOOL) - isNull
 An object can decide that it is null, i.e. More...
 
(void) - setFromFlatParent:prefix:
 Handling incoming Indivo 2.0 flat XML IndivoAbstractDocument, a subclass of INObject, uses a slightly more diverse implementation of this method. More...
 
(void) - setFromNode:
 The INObject implementation sets the node name and node type (if a "type" attribute is found in the XML node) from an INXMLNode parsed from Indivo XML This method is called from the designated initializer, subclasses should override it to set custom properties and call [super setFromNode:node]. More...
 
(void) - setWithAttr:fromNode:
 Tries to interpret the attribute string as representing our value. More...
 
(NSString *) - tagString
 Returns the tag name and, if mustDeclareType is YES, the xsi:type-attribute, ready to be used as tag name. More...
 
(NSString *) - xml
 Return an XML representation of the object. More...
 
- Protected Attributes inherited from INObject
NSString * _nodeName
 
- Properties inherited from INString
NSString * string
 

Detailed Description

A class to represent "xs:normalizedString" elements.

Method Documentation

+ (NSArray *) restrictedTo

Subclasses can be restricted to certain possible strings.

If so, the subclass can return a non-nil array from this class method and the string is then guaranteed to always have a valid value.


The documentation for this class was generated from the following files: