net.sourceforge.nrl.parser.model.xsd
Interface IXSDUserData

All Known Implementing Classes:
XSDModelLoader

public interface IXSDUserData

Additional user data keys that will be attached to the model elements, packages or attributes by the XSD loader. See the constants below for definitions. See IModelElement.getUserData(String) for information on user data.


Field Summary
static String CONTAINING_TYPE
          If a model element is directly contained in another one, this will be set.
static String NAMESPACE
          Will be set on elements or attributes that are in a namespace - the namespace URI.
static String SUBSTITUTABLE
          On elements that define a substitution group, i.e.
static String SUBSTITUTION_FOR
          On elements that participate in a substitution group, this will point to the "root" element that this is a substitution for.
 

Field Detail

CONTAINING_TYPE

static final String CONTAINING_TYPE
If a model element is directly contained in another one, this will be set. The value of the data will be an object of type IModelElement.

This value is set on all anonymous subtypes, which according to JAXB modeling conventions are contained within the types in which they are used.

See Also:
Constant Field Values

NAMESPACE

static final String NAMESPACE
Will be set on elements or attributes that are in a namespace - the namespace URI. The value is a string.

See Also:
Constant Field Values

SUBSTITUTABLE

static final String SUBSTITUTABLE
On elements that define a substitution group, i.e. represent the element that may be substituted, this will be Boolean(true). On the substituting elements SUBSTITUTION_FOR will be set.

See Also:
Constant Field Values

SUBSTITUTION_FOR

static final String SUBSTITUTION_FOR
On elements that participate in a substitution group, this will point to the "root" element that this is a substitution for. The value will be an XSDAttribute.

See Also:
Constant Field Values


Copyright © 2006-2010 Christian Nentwich and others