Skip to main content
Shop Support Downloads
IBM Home Products Consulting Industries News About IBM
IBM developerWorks : XML : Education - Tutorials
XML Schema Infoset Model, Part 1
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
4. Using XML Schema Infoset Model classes

Understanding the XML Schema Infoset model diagrams page 2 of 9

The next several panels show a set of UML diagrams that represent the XML Schema Infoset model, using the following notation:

  • Each relationship or attribute Xyz, which we will refer to as a feature Xyz in a diagram, corresponds to a getXyz() method in Java for accessing that feature.
  • If the feature is many-valued (in other words, (0..*)), the getXyz() method returns a java.util.List interface, which can be modified directly using standard java.util.List API.
  • Otherwise, if the feature is single-valued, then a corresponding setXyz() method is available for modification.

A relationship with a black diamond corresponds to a containment relationship. These form the basis for the concrete tree structure of the XML Schema Infoset model.

A relationship with a white diamond corresponds to a shared pseudo-containment relationship. It is used only for documentation purposes since it is not logically different from a relationship with no diamond. In general, the white diamond relationships represent relationships defined directly in the XML Schema specification. They are typically computed from other relations and hence should not be modified directly. The exception to this rule are relations involving types. These consist of base-type, member-type, item-type, and element- or attribute-type.

Note: The diagrams on the next several panels can also be found in the org.eclipse.xsd/src/model/XSD.mdl model file.

Main menuSection menuFeedbackPreviousNext
About IBM | Privacy | Legal | Contact