|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<CPluginCustomization>
com.sun.tools.xjc.model.CCustomizations
public final class CCustomizations
Represents the list of 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.
| Field Summary | |
|---|---|
static CCustomizations |
EMPTY
Convenient singleton instance that represents an empty CCustomizations. |
(package private) CCustomizations |
next
All CCustomizations used by a Model form a single linked list
so that we can look for unacknowledged customizations later. |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
CCustomizations()
|
|
CCustomizations(java.util.Collection<? extends CPluginCustomization> cPluginCustomizations)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
CPluginCustomization |
find(java.lang.String nsUri)
Finds the first CPluginCustomization that belongs to the given namespace URI. |
CPluginCustomization |
find(java.lang.String nsUri,
java.lang.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. |
(package private) void |
setParent(Model model,
CCustomizable owner)
|
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
CCustomizations next
CCustomizations used by a Model form a single linked list
so that we can look for unacknowledged customizations later.
CPluginCustomization.markAsAcknowledged(),
setParent(Model,CCustomizable)public static final CCustomizations EMPTY
CCustomizations.
| Constructor Detail |
|---|
public CCustomizations()
public CCustomizations(java.util.Collection<? extends CPluginCustomization> cPluginCustomizations)
| Method Detail |
|---|
void setParent(Model model,
CCustomizable owner)
public CCustomizable getOwner()
public CPluginCustomization find(java.lang.String nsUri)
CPluginCustomization that belongs to the given namespace URI.
public CPluginCustomization find(java.lang.String nsUri,
java.lang.String localName)
CPluginCustomization that belongs to the given namespace URI and the local name.
public static CCustomizations merge(CCustomizations lhs,
CCustomizations rhs)
CCustomizations objects into one.
public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<CPluginCustomization>equals in interface java.util.List<CPluginCustomization>equals in class java.util.AbstractList<CPluginCustomization>public int hashCode()
hashCode in interface java.util.Collection<CPluginCustomization>hashCode in interface java.util.List<CPluginCustomization>hashCode in class java.util.AbstractList<CPluginCustomization>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||