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

public Class CPluginCustomization

extends Object
Class Inheritance
Imports
com.sun.tools.xjc.Plugin, org.w3c.dom.Element, org.xml.sax.Locator

Vendor extension customization contributed from Plugins.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private boolean
public final Element
element

The annotation found in a schema (or in an external binding file.) Always non-null.

public final Locator
locator

The source location where this customization is placed.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
markAsAcknowledged()

When a Plugin "uses" this annotation, call this method to mark it.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

acknowledgedback to summary
private boolean acknowledged
elementback to summary
public final Element element

The annotation found in a schema (or in an external binding file.) Always non-null.

locatorback to summary
public final Locator locator

The source location where this customization is placed.

When an error is found in this customization, this information should be used to point the user to the source of the problem. Always non-nul.

Constructor Detail

CPluginCustomizationback to summary
public CPluginCustomization(Element element, Locator locator)

Method Detail

isAcknowledgedback to summary
public boolean isAcknowledged()
markAsAcknowledgedback to summary
public void markAsAcknowledged()

When a Plugin "uses" this annotation, call this method to mark it.

s that are not marked will be reporeted as an error to users. This allows us to catch customizations that are not used by anybody.