User's Guide
- attribute
- Returns the XML element attribute. The XML element attribute can be
an attribute or, if it is a text element, a subelement.
- attribute: anAtributeName
- Sets the XML element attribute. The XML element attribute can be an
attribute or, if it is a text element, a subelement.
- attributeClassCreationMethod
- The attribute specification contains the attribute class. If you
set the attribute class creation method, this method will be used instead of
#new method. For example, you may want to use the
#fromString: method of your attribute class. If a
string conversion method is used, it is executed first and the result is sent
to the attribute class creation method.
- attributeClassCreationMethod: aMethodName
- The attribute specification contains the attribute class. If you
set the attribute class creation method, this method will be used instead of
#new method. For example, you may want to use the
#fromString: method of your attribute class. If a
string conversion method is used, it is executed first and the result is sent
to the attribute class creation method.
- classAttribute
- Returns the name of the class attribute or feature. The attribute
name is stored as a string that can be used to look up the feature in an
interface specification.
- classAttribute:attributeName
- Sets the name of the class attribute or feature. The attribute name
is stored as a string that can be used to look up the feature in an interface
specification.
- classElementMapping
- Returns the reference to the class element mapping. The instance of
AbtAttributeMapping can access the
AbtClassElementMapping that contains it.
- classElementMapping: anAbtClassElementMapping
- Sets a reference to the class element mapping. The instance of
AbtAttributeMapping can access the
AbtClassElementMapping that contains it.
- getDataFor: anAbtDOMElement usingAtributeSpec:
anAbtAttributeSpec
- Returns the value of the data after optionally running it through the
string conversion and/or the attribute class creation method.
- isAttribute
- Returns a boolean value that indicates the type of mapping.
- isSubElement
- Returns a boolean value that indicates the type of mapping.
- isSubElementAttribute
- Returns a boolean value that indicates the type of mapping.
- stringConversionMethod
- Sent to the string before calling the setter method of the class
attribute. The DOM stores all data as strings so this method enables
conversion from string to another object type. For example, you may
want to set the string conversion method to asNumber for numeric
data. The asNumber method is sent to the string.
- stringConversionMethod: aMethodName
- Sent to the string before calling the setter method of the class
attribute. The DOM stores all data as strings so this method enables
conversion from string to another object type. For example, you may
want to set the string conversion method to asNumber for numeric
data. The asNumber method is sent to the string.
- subElement
- Returns the subelement tag name. These methods are used to map
non-text subelements.
- subElement: SubElementTagName
- Sets the subelement tag name. These methods are used to map
non-text subelements.
- subElementKey
- Returns the subelement key. These methods are used to map
dictionaries.
- subElementKey: anElementAttrib
- Sets the subelement key. These methods are used to map
dictionaries.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]