_MappingModel Class Reference

Inherits com::webobjects::foundation::NSKeyValueCoding.

Collaboration diagram for _MappingModel:

Collaboration graph
base refererrect $struct___string.html 33,26 97,50
[legend]

List of all members.

Classes

class  EntityMappingDescriptor
class  KeyMappingDescriptor

Public Member Functions

 _MappingModel ()
Enumeration attributeKeysForClassNamed (String s)
Enumeration attributeKeysForXMLTag (String s)
boolean codeBasedOnClassForPropertyKey (String s, String s1)
Enumeration contentsKeysForClassNamed (String s)
Enumeration contentsKeysForXMLTag (String s)
NSArray descriptors ()
boolean hasMappingForXMLTag (String s)
int outputTagsForPropertyKey (String s, String s1)
void registerDescriptor (EntityMappingDescriptor entitymappingdescriptor)
void setDescriptors (NSArray nsarray)
void takeValueForKey (Object obj, String s)
Object valueForKey (String s)
String xmlTagForClassNamed (String s)
String xmlTagForPropertyKey (String s, String s1)
String xmlTagForPropertyKeyInXMLTag (String s, String s1)

Static Public Member Functions

static _WOXMLMappingDecoder mappingModelDecoder ()
static _MappingModel mappingModelWithXMLFile (String s)

Static Public Attributes

static final int OUTPUT_BOTH_TAGS = 3
static final int OUTPUT_CLASS_TAG = 1
static final int OUTPUT_NEITHER_TAG = 0
static final int OUTPUT_PROPERTY_TAG = 2

Protected Member Functions

String classNameForXMLTag (String s)
String contentsKeyForXMLTag (String s)
boolean forceListForPropertyKey (String s, String s1)
boolean ignoreUnmappedTagsForXMLTag (String s)
KeyMappingDescriptor keyMappingDescriptor (String s, String s1)
String propertyKeyForXMLTag (String s, String s1)
boolean reportEmptyValuesForPropertyKey (String s, String s1)
String unmappedTagsKeyForXMLTag (String s)

Static Package Attributes

static final String OUTPUT_BOTH_TAG_STRING = "both"
static final String OUTPUT_CLASS_TAG_STRING = "class"
static final String OUTPUT_NEITHER_TAG_STRING = "neither"
static final String OUTPUT_PROPERTY_TAG_STRING = "property"

Private Attributes

NSMutableDictionary _entityMappingDescriptorsByName
NSMutableDictionary _entityMappingDescriptorsByXMLTag

Static Private Attributes

static _WOXMLMappingDecoder _mappingModelDecoder


Detailed Description

Bufix that synchronizes on the mapping model, as it throws when you call it from multiple threads.

Author:
ak

Constructor & Destructor Documentation

_MappingModel (  ) 


Member Function Documentation

Enumeration attributeKeysForClassNamed ( String  s  ) 

Enumeration attributeKeysForXMLTag ( String  s  ) 

String classNameForXMLTag ( String  s  )  [protected]

boolean codeBasedOnClassForPropertyKey ( String  s,
String  s1 
)

String contentsKeyForXMLTag ( String  s  )  [protected]

Enumeration contentsKeysForClassNamed ( String  s  ) 

Enumeration contentsKeysForXMLTag ( String  s  ) 

NSArray descriptors (  ) 

boolean forceListForPropertyKey ( String  s,
String  s1 
) [protected]

boolean hasMappingForXMLTag ( String  s  ) 

boolean ignoreUnmappedTagsForXMLTag ( String  s  )  [protected]

KeyMappingDescriptor keyMappingDescriptor ( String  s,
String  s1 
) [protected]

static _WOXMLMappingDecoder mappingModelDecoder (  )  [static]

static _MappingModel mappingModelWithXMLFile ( String  s  )  [static]

int outputTagsForPropertyKey ( String  s,
String  s1 
)

String propertyKeyForXMLTag ( String  s,
String  s1 
) [protected]

void registerDescriptor ( EntityMappingDescriptor  entitymappingdescriptor  ) 

boolean reportEmptyValuesForPropertyKey ( String  s,
String  s1 
) [protected]

void setDescriptors ( NSArray  nsarray  ) 

void takeValueForKey ( Object  obj,
String  s 
)

String unmappedTagsKeyForXMLTag ( String  s  )  [protected]

Object valueForKey ( String  s  ) 

String xmlTagForClassNamed ( String  s  ) 

String xmlTagForPropertyKey ( String  s,
String  s1 
)

String xmlTagForPropertyKeyInXMLTag ( String  s,
String  s1 
)


Member Data Documentation

_WOXMLMappingDecoder _mappingModelDecoder [static, private]

final String OUTPUT_BOTH_TAG_STRING = "both" [static, package]

final int OUTPUT_BOTH_TAGS = 3 [static]

final int OUTPUT_CLASS_TAG = 1 [static]

final String OUTPUT_CLASS_TAG_STRING = "class" [static, package]

final int OUTPUT_NEITHER_TAG = 0 [static]

final String OUTPUT_NEITHER_TAG_STRING = "neither" [static, package]

final int OUTPUT_PROPERTY_TAG = 2 [static]

final String OUTPUT_PROPERTY_TAG_STRING = "property" [static, package]


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

Generated on Sat May 26 06:42:31 2012 for Project Wonder by  doxygen 1.5.8