com.sun.tools.xjc.model
Interface CCustomizable

All Known Subinterfaces:
CClass, CElement, CNonElement, CTypeInfo
All Known Implementing Classes:
AbstractCElement, AbstractCTypeInfoImpl, CArrayInfo, CAttributePropertyInfo, CBuiltinLeafInfo, CClassInfo, CClassRef, CElementInfo, CElementPropertyInfo, CEnumLeafInfo, CPropertyInfo, CReferencePropertyInfo, CSingleTypePropertyInfo, CValuePropertyInfo, CWildcardTypeInfo, Model

public interface CCustomizable

Implemented by model components that can have customizations contributed by Plugins.


Method Summary
 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.)