com.sun.tools.xjc.model
public final class CCustomizations extends ArrayList<CPluginCustomization>
When Plugins register the customization namespace URIs through getCustomizationURIs, XJC will treat those URIs just like XJC's own extension "http://java.sun.com/xml/ns/xjc" and make them available as DOM nodes through CPluginCustomization. A Plugin can then access this information to change its behavior.
Field Summary | |
---|---|
static CCustomizations | EMPTY
Convenient singleton instance that represents an empty CCustomizations. |
CCustomizations | next
All CCustomizations used by a Model form a single linked list
so that we can look for unacknowledged customizations later.
|
Constructor Summary | |
---|---|
CCustomizations() | |
CCustomizations(Collection<? extends CPluginCustomization> cPluginCustomizations) |
Method Summary | |
---|---|
boolean | equals(Object o) |
CPluginCustomization | find(String nsUri)
Finds the first CPluginCustomization that belongs to the given namespace URI. |
CPluginCustomization | find(String nsUri, String localName)
Finds the first CPluginCustomization that belongs to the given namespace URI and the local name. |
CCustomizable | getOwner()
Gets the model component that carries this customization.
|
int | hashCode() |
static CCustomizations | merge(CCustomizations lhs, CCustomizations rhs)
Merges two CCustomizations objects into one. |
void | setParent(Model model, CCustomizable owner) |
See Also: markAsAcknowledged setParent
Returns: null if not found
Returns: null if not found
Returns: never null.