Click or drag to resize

AMLSchemaManager Methods

The AMLSchemaManager type exposes the following members.

Methods
 NameDescription
Public methodAddNew Creates a new Xml-Element with the provided content and inserts it to the provided parent according to this schema instance.
(Inherited from XmlSchemaManager)
Public methodAddNewAfterSelf Creates a new Xml-Element with the provided content and inserts it behind the provided sibling according to this schema instance.
(Inherited from XmlSchemaManager)
Public methodAttributeNames Gets the Attribute names of the specified child element of the specified parent element.
(Inherited from XmlSchemaManager)
Public methodAttributes 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)
Public methodAttributeValueRestrictions 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)
Public methodAttributeValueType(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)
Public methodCanAddNew 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)
Public methodChildElementNames 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)
Public methodChildElements 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)
Public methodChoices 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)
Public methodCreateAttribute Creates the attribute with the provided name if this attribute is defined in this schema instance.
(Inherited from XmlSchemaManager)
Public methodCreateElement Method overrides the CreateElement(XName, XName, Boolean). The created node is made to an AML node.
(Overrides XmlSchemaManagerCreateElement(XName, XName, Boolean))
Public methodGetAnnotation(XmlSchemaAnnotated) Gets the annotation from the annotated schema element.
(Inherited from XmlSchemaManager)
Public methodGetAnnotation(XmlSchemaAttribute) Gets the annotation from the schema attribute element.
(Inherited from XmlSchemaManager)
Public methodGetAnnotation(XmlSchemaElement) Gets the annotation from the schema element.
(Inherited from XmlSchemaManager)
Public methodHasChoiceOfElements 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)
Public methodHasSequenceOfSimpleElements Determines, if the schema defines a sequence of simple elements for the provided parent child combination.
(Inherited from XmlSchemaManager)
Public methodInsert Inserts an existing child node into the collection of child nodes of the specified parent node.
(Inherited from XmlSchemaManager)
Public methodInsertNew 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)
Public methodIsChoice 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)
Public methodIsDefinedAttribute Determines, if the Attribute with the provided is defined for this element
(Inherited from XmlSchemaManager)
Public methodIsParent Determines, if the parent is allowed to contain a child with the provided name according to this schema instance.
(Inherited from XmlSchemaManager)
Public methodIsRequiredAttribute Determines, if the Attribute with the provided name is a required attribute when added to the parent child combination.
(Inherited from XmlSchemaManager)
Public methodMaxOccurence 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)
Public methodMinOccurence 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)
Public methodSchemaElement Gets the schema information for the provided parent child combination.
(Inherited from XmlSchemaManager)
Public methodSetSchemaVersion Sets the schema version.
Public methodSiblingBefore 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)
Public methodValidate Validates a document if it is conform to this schema instance.
(Inherited from XmlSchemaManager)
Public methodValueType Returns the type code for a value that may be associated with the defined child.
(Inherited from XmlSchemaManager)
Top
See Also