-
- All Known Subinterfaces:
CClass
,CElement
,CNonElement
,CTypeInfo
- All Known Implementing Classes:
CArrayInfo
,CAttributePropertyInfo
,CBuiltinLeafInfo
,CClassInfo
,CClassRef
,CElementInfo
,CElementPropertyInfo
,CEnumConstant
,CEnumLeafInfo
,CPropertyInfo
,CReferencePropertyInfo
,CValuePropertyInfo
,CWildcardTypeInfo
,Model
public interface CCustomizable
Implemented by model components that can have customizations contributed byPlugin
s.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CCustomizations
getCustomizations()
Gets the list of customizations attached to this model component.Locator
getLocator()
Gets the source location in the schema from which this model component is created.XSComponent
getSchemaComponent()
If this model object is built from XML Schema, this property returns a schema component from which the model is built.
-
-
-
Method Detail
-
getCustomizations
CCustomizations getCustomizations()
Gets the list of customizations attached to this model component.- Returns:
- can be an empty list but never be null. The returned list is read-only. Do not modify.
- See Also:
Plugin.getCustomizationURIs()
-
getLocator
Locator getLocator()
Gets the source location in the schema from which this model component is created.- Returns:
- never null.
-
getSchemaComponent
XSComponent getSchemaComponent()
If this model object is built from XML Schema, this property returns a schema component from which the model is built.- Returns:
- null if the model is built from sources other than XML Schema (such as DTD.)
-
-