com.sun.tools.xjc.model

Interface CCustomizable

public interface CCustomizable

Implemented by model components that can have customizations contributed by Plugins.
Method Summary
CCustomizationsgetCustomizations()
Gets the list of customizations attached to this model component.
LocatorgetLocator()
Gets the source location in the schema from which this model component is created.
XSComponentgetSchemaComponent()
If this model object is built from XML Schema, this property returns a schema component from which the model is built.

Method Detail

getCustomizations

public 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: getCustomizationURIs

getLocator

public Locator getLocator()
Gets the source location in the schema from which this model component is created.

Returns: never null.

getSchemaComponent

public 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.)