Class com.gContactSync.GElement
Defined in: GElement.js.
Constructor Attributes | Constructor Name and Description |
---|---|
com.gContactSync.GElement(aType, aTagName, aNamespace, aValidTypes, aAttribute)
A simple class for storing information about how Google represents a contact
in XML.
|
Class Detail
com.gContactSync.GElement(aType, aTagName, aNamespace, aValidTypes, aAttribute)
A simple class for storing information about how Google represents a contact
in XML.
- Parameters:
- aType
- {string} The "type" of contact, as found in gdata.types.
- aTagName
- {string} The tag name of the element.
- aNamespace
- {Namespace} The Namespace object that contains the element.
- aValidTypes
- {array} The different types allowed, as an array, for example, ["home", "work", "other"]
- aAttribute
- {string} The attribute, if any, in which the value of the element is stored. If not present, then it is assumed that the value is stored as the child node.