CPluginCustomizations attached to a JAXB model component.
When Plugins register the customization namespace URIs through Plugin#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.
| Modifier and Type | Field and Description |
|---|---|
| public static final CCustomizations | EMPTY
Convenient singleton instance that represents an empty |
| pack-priv CCustomizations | next
All |
| private CCustomizable | owner
The owner model component that carries these customizations. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Implements java. Compares the specified object with this list for equality. |
| public CPluginCustomization | Returns: null if not foundFinds the first |
| public CPluginCustomization | Returns: null if not foundFinds the first |
| private String | |
| public CCustomizable | |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this list. |
| public static CCustomizations | |
| pack-priv void |
| EMPTY | back to summary |
|---|---|
| public static final CCustomizations EMPTY Convenient singleton instance that represents an empty | |
| next | back to summary |
|---|---|
| pack-priv CCustomizations next All | |
| owner | back to summary |
|---|---|
| private CCustomizable owner The owner model component that carries these customizations. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CCustomizations | back to summary |
|---|---|
| public CCustomizations() | |
| CCustomizations | back to summary |
|---|---|
| public CCustomizations(Collection<? extends CPluginCustomization> cPluginCustomizations) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Doc from java. Compares the specified object with this list for equality. Returns
| |
| find | back to summary |
|---|---|
| public CPluginCustomization find(String nsUri) Finds the first
| |
| find | back to summary |
|---|---|
| public CPluginCustomization find(String nsUri, String localName) Finds the first
| |
| fixNull | back to summary |
|---|---|
| private String fixNull(String s) | |
| getOwner | back to summary |
|---|---|
| public CCustomizable getOwner() Gets the model component that carries this customization.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this list. The hash code of a list is defined to be the result of the following calculation:
This ensures that list1.equals(list2) implies that
list1.hashCode()==list2.hashCode() for any two lists,
list1 and list2, as required by the general
contract of Object#hashCode.
| |
| merge | back to summary |
|---|---|
| public static CCustomizations merge(CCustomizations lhs, CCustomizations rhs) Merges two objects into one. | |
| setParent | back to summary |
|---|---|
| pack-priv void setParent(Model model, CCustomizable owner) | |