Top Description Methods
com.sun.tools.xjc.model

public Interface CCustomizable

Known Direct Subinterfaces
com.sun.tools.xjc.model.CTypeInfo
Known Direct Implementers
com.sun.tools.xjc.model.CEnumConstant, com.sun.tools.xjc.model.CPropertyInfo, com.sun.tools.xjc.model.Model
Imports
com.sun.tools.xjc.Plugin, com.sun.xml.xsom.XSComponent, org.xml.sax.Locator

Implemented by model components that can have customizations contributed by Plugins.
Author
Kohsuke Kawaguchi

Method Summary

Modifier and TypeMethod and Description
public CCustomizations

Returns:

can be an empty list but never be null. The returned list is read-only. Do not modify.
getCustomizations
()

Gets the list of customizations attached to this model component.

public Locator

Returns:

never null.
getLocator
()

Gets the source location in the schema from which this model component is created.

public XSComponent

Returns:

null if the model is built from sources other than XML Schema (such as DTD.)
getSchemaComponent
()

If this model object is built from XML Schema, this property returns a schema component from which the model is built.

Method Detail

getCustomizationsback to summary
public CCustomizations getCustomizations()

Gets the list of customizations attached to this model component.

Returns:CCustomizations

can be an empty list but never be null. The returned list is read-only. Do not modify.

See Also
Plugin#getCustomizationURIs()
getLocatorback to summary
public Locator getLocator()

Gets the source location in the schema from which this model component is created.

Returns:Locator

never null.

getSchemaComponentback to summary
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:XSComponent

null if the model is built from sources other than XML Schema (such as DTD.)