public boolean containsExtensor(Object el) { if (delegate != null) { return delegate.containsExtensor(el); } Object[] exts = extensors.get(); if (exts != null) { for (Object o : exts) { if (o == el) { return true; } } } return false; } public void addExtensor(Object el) {
public boolean containsExtensor(Object el) { if (delegate != null) { return delegate.containsExtensor(el); } Object[] exts = extensors.get(); if (exts != null) { for (Object o : exts) { if (o == el) { return true; } } } return false; } public void addExtensor(Object el) {
public boolean containsExtensor(Object el) { if (delegate != null) { return delegate.containsExtensor(el); } Object exts[] = extensors.get(); if (exts != null) { for (Object o : exts) { if (o == el) { return true; } } } return false; } public void addExtensor(Object el) {
public boolean containsExtensor(Object el) { if (delegate != null) { return delegate.containsExtensor(el); } Object exts[] = extensors.get(); if (exts != null) { for (Object o : exts) { if (o == el) { return true; } } } return false; } public void addExtensor(Object el) {
private void copyExtensors(AbstractPropertiesHolder info, List<?> extList) { if (info != null) { for (ExtensibilityElement ext : cast(extList, ExtensibilityElement.class)) { if (!info.containsExtensor(ext)) { info.addExtensor(ext); } } } }
private void copyExtensors(AbstractPropertiesHolder info, List<?> extList) { if (info != null) { for (ExtensibilityElement ext : cast(extList, ExtensibilityElement.class)) { if (!info.containsExtensor(ext)) { info.addExtensor(ext); } } } }
private void copyExtensors(AbstractPropertiesHolder info, List<?> extList) { if (info != null) { for (ExtensibilityElement ext : cast(extList, ExtensibilityElement.class)) { Object o = ext; if (ext instanceof JAXBExtensibilityElement) { o = ((JAXBExtensibilityElement)ext).getValue(); } if (!info.containsExtensor(o)) { info.addExtensor(o); } } } }