Interface CCustomizable

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 by Plugins.
Author:
Kohsuke Kawaguchi
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the list of customizations attached to this model component.
    Gets the source location in the schema from which this model component is created.
    If this model object is built from XML Schema, this property returns a schema component from which the model is built.
  • Method Details

    • 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:
    • 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.)