The <class>XML.Element</class> class defines an XML element to be used by <class>XML.Writer</class>. More...
Public Member Functions | |
_.Library.Status | AddAttribute (_.Library.String name, _.Library.String value, _.Library.String namespace, _.Library.String valueNamespace) |
The <class>XML.Element</class> class defines an XML element to be used by <class>XML.Writer</class>. More... | |
_.Library.Integer | AttributeCount () |
The <method>AttributeCount</method> returns the number of attributes. | |
_.Library.String | GetAttribute (_.Library.Integer index, _.Library.String name, _.Library.String namespace, _.Library.String valueNamespace) |
The <method>GetAttribute</method> returns the specified attribute. | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
Public Attributes | |
Local | |
The <property>Local</property> property determines how the tag is. More... | |
Namespace | |
The <property>Namespace</property> property is set to the namespace. More... | |
Tagname | |
The tagname to be used for the element. More... | |
Private Attributes | |
__Attributes | |
Internal array of attribute name/value pairs. More... | |
Additional Inherited Members | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
The <class>XML.Element</class> class defines an XML element to be used by <class>XML.Writer</class>.
The tag name, attributes and namespace may be defined. To get a new instance of <class>XML.Element</class> call New(tag) where tag is the tagname to be used for the element. The Tagname property may alternatively be set to the tag name.
_.Library.Status AddAttribute | ( | _.Library.String | name, |
_.Library.String | value, | ||
_.Library.String | namespace, | ||
_.Library.String | valueNamespace | ||
) |
The <class>XML.Element</class> class defines an XML element to be used by <class>XML.Writer</class>.
The tag name, attributes and namespace may be defined. To get a new instance of <class>XML.Element</class> call New(tag) where tag is the tagname to be used for the element. The Tagname property may alternatively be set to the tag name.
The <method>AddAttribute</method> method adds an attribute to this
element.
The name and value arguments are required.
The namespace is the optional namespace for the attribute name. If namespace is not specified, then the default namespace is used for the attribute name.
The valueNamespace argument is the namespace for the value. If valueNamespace is not specified (the most usual case), no namespace prefix is used for the value.
valueNamespace is used for attributes like xsi:type whose value comes from an XML schema namespace.
|
private |
Internal array of attribute name/value pairs.
Local |
The <property>Local</property> property determines how the tag is.
qualified for the case of elementFormDefault="unqualified".
Namespace |
The <property>Namespace</property> property is set to the namespace.
to be used for this tag. If <property>Namespace</property> is not set then <class>XML.Writer</class> will use the default namespace or no namespace if no default is set.
Tagname |
The tagname to be used for the element.