Indivo Framework (iOS)
An iOS framework for Apps connecting to Indivo server
|
#import <INBool.h>
Inherits INObject.
Class Methods | |
(id) | + newNo |
(id) | + newYes |
![]() | |
(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... | |
Properties | |
BOOL | flag |
![]() | |
BOOL | mustDeclareType |
NO by default. If YES, the XML output should contain "xsi:type". More... | |
NSString * | nodeName |
The object's nodeName. More... | |
NSString * | nodeType |
The type, e.g. "indivo:ValueAndUnit" or "xs:date". More... | |
Additional Inherited Members | |
![]() | |
(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... | |
![]() | |
NSString * | _nodeName |
+ (id) newNo |
+ (id) newYes |
|
readwritenonatomicassign |