![]() | AMLSchema |
The AMLSchemaManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddNew |
Creates a new Xml-Element with the provided content and inserts it to the provided parent according to
this schema instance.
(Inherited from XmlSchemaManager) |
![]() | AddNewAfterSelf |
Creates a new Xml-Element with the provided content and inserts it behind the provided sibling according to
this schema instance.
(Inherited from XmlSchemaManager) |
![]() | AttributeNames |
Gets the Attribute names of the specified child element of the specified parent element.
(Inherited from XmlSchemaManager) |
![]() | Attributes |
Gets the Schema Elements for all attributes of the specified child element of
the specified parent element, if the defined parent child relation exists in
the xml schema. If required is set to true, only the required
attributes are returned. The default behaviour is, that all attributes -
optional and required attributes - are returned.
(Inherited from XmlSchemaManager) |
![]() | AttributeValueRestrictions |
Gets the List of Attribute value restrictions for the attribute with the
defined name. The Attribute should be an attribute of a child defined by
the given name, which exists in the defined parent child relation defined by
the parent name.
(Inherited from XmlSchemaManager) |
![]() | AttributeValueType(XName, XName, String) |
Gets the Attribute value types for the attribute with the defined name of a
child element which belongs to the given parent. If XmlTypeCode.Item is
returned, the value type is equal to the schema internal any type.
(Inherited from XmlSchemaManager) |
![]() | CanAddNew |
Determines, if a child with the specified name can be added to the parent
node. The method checks the specified minimal and maximal occurrences, defined for
this relation in the xml schema.
(Inherited from XmlSchemaManager) |
![]() | ChildElementNames |
Gets the Names for all elements, which can be added to the child which is
defined with the name of it's parent and the name of itself.
(Inherited from XmlSchemaManager) |
![]() | ChildElements |
Gets the SchemaDefinition for all elements, which can be added to the child which is
defined with the name of it's parent and the name of itself.
(Inherited from XmlSchemaManager) |
![]() | Choices |
Gets the names of all alternative child nodes, which can be added to a parent
node with the given name. The specified child itself is included. Choices only
exists, if IsChoice(String, String) returns true for the defined
child name.
(Inherited from XmlSchemaManager) |
![]() | CreateAttribute |
Creates the attribute with the provided name if this attribute is defined in this schema instance.
(Inherited from XmlSchemaManager) |
![]() | CreateElement |
Method overrides the CreateElement(XName, XName, Boolean).
The created node is made to an AML node.
(Overrides XmlSchemaManagerCreateElement(XName, XName, Boolean)) |
![]() | GetAnnotation(XmlSchemaAnnotated) |
Gets the annotation from the annotated schema element.
(Inherited from XmlSchemaManager) |
![]() | GetAnnotation(XmlSchemaAttribute) |
Gets the annotation from the schema attribute element.
(Inherited from XmlSchemaManager) |
![]() | GetAnnotation(XmlSchemaElement) |
Gets the annotation from the schema element.
(Inherited from XmlSchemaManager) |
![]() | HasChoiceOfElements |
Determines, whether the schema element representing the parent - child relation
has a content, which is restricted to a choice of elements. If onlyOne is set
to true, there can not be more than one element added to the element
(Inherited from XmlSchemaManager) |
![]() | HasSequenceOfSimpleElements |
Determines, if the schema defines a sequence of simple elements for the provided parent child combination.
(Inherited from XmlSchemaManager) |
![]() | Insert |
Inserts an existing child node into the collection of child nodes of the
specified parent node.
(Inherited from XmlSchemaManager) |
![]() | InsertNew |
Creates a new node with the defined child name and inserts the newly created
child into the child nodes collection of the specified parent. Optional, it
can be specified, if the new node should get all attributes, which are defined
in the schema, or only those attributes which are required (default behaviour).
The Method can be overridden by specific schema managers, to add additional
properties to the created node, which can not be derived directly from the schema.
(Inherited from XmlSchemaManager) |
![]() | IsChoice |
Determines, whether the occurrence of a child with that name under a parent
with that name is part of a choice (means that there are other exclusive
alternatives for child nodes). If not, the child is defined in a sequence. For
choices, the names of alternatives are available with Choices(XName, XName).
(Inherited from XmlSchemaManager) |
![]() | IsDefinedAttribute |
Determines, if the Attribute with the provided is defined for this element
(Inherited from XmlSchemaManager) |
![]() | IsParent |
Determines, if the parent is allowed to contain a child with the provided name according to this schema instance.
(Inherited from XmlSchemaManager) |
![]() | IsRequiredAttribute |
Determines, if the Attribute with the provided name is a required attribute when added to the parent child
combination.
(Inherited from XmlSchemaManager) |
![]() | MaxOccurence |
Returned the maximal occurrence for child nodes with the specified name under a
parent node with the specified name. For unbounded occurrences, the returned
value is MaxValue. If the occurrence is 0, the
existence of a child with that name under a parent with that name is not allowed.
(Inherited from XmlSchemaManager) |
![]() | MinOccurence |
The minimal occurrence for child node with the defined name under a parent node
with the defined name. If 0 is returned, the existence of a child node with
that node is optional. If 1 is returned, the existence is mandatory.
(Inherited from XmlSchemaManager) |
![]() | SchemaElement |
Gets the schema information for the provided parent child combination.
(Inherited from XmlSchemaManager) |
![]() | SetSchemaVersion | Sets the schema version. |
![]() | SiblingBefore |
This method is a utility method for insert operations. The method will return
the node which should be used as the sibling before a newly added child with
the defined name. The Insertion has to be done after the returned node or
prepended to the parent itself, if no node null is returned.
(Inherited from XmlSchemaManager) |
![]() | Validate |
Validates a document if it is conform to this schema instance.
(Inherited from XmlSchemaManager) |
![]() | ValueType |
Returns the type code for a value that may be associated with the defined child.
(Inherited from XmlSchemaManager) |