/** * Remove an extension by class. * @see ExtensionPoint#removeExtension(Class) */ public void removeExtension(Class<? extends Extension> extensionClass) { extPoint.removeExtension(extensionClass); }
/** * Remove an extension. * @see ExtensionPoint#removeExtension(Extension) */ public void removeExtension(Extension extension) { extPoint.removeExtension(extension); }
/** * Remove an extension. * @see ExtensionPoint#removeExtension(Extension) */ public void removeExtension(Extension extension) { extPoint.removeExtension(extension); }
/** * Remove an extension by class. * @see ExtensionPoint#removeExtension(Class) */ public void removeExtension(Class<? extends Extension> extensionClass) { extPoint.removeExtension(extensionClass); }
public void removeExtension(Extension extension) { extPoint.removeExtension(extension); }
public void removeExtension(Extension extension) { extPoint.removeExtension(extension); }
public void removeExtension(Class<? extends Extension> extensionClass) { extPoint.removeExtension(extensionClass); }
public void removeExtension(Class<? extends Extension> extensionClass) { extPoint.removeExtension(extensionClass); }
/** * Sets the value of the tag {@code <batch:id>}. * * @param extPoint extension point to put the id on * @param id the batch id or null to remove it */ public static void setBatchId(ExtensionPoint extPoint, String id) { if (id == null) { extPoint.removeExtension(BatchId.class); } else { extPoint.setExtension(new BatchId(id)); } }
/** * Sets the value of the tag {@code <batch:id>}. * * @param extPoint extension point to put the id on * @param id the batch id or null to remove it */ public static void setBatchId(ExtensionPoint extPoint, String id) { if (id == null) { extPoint.removeExtension(BatchId.class); } else { extPoint.setExtension(new BatchId(id)); } }
/** * Sets the batch operation to execute in a {@link BaseEntry}. * * @param extPoint extension point to set the operation type on * @param op batch operation type or null to remove it */ public static void setBatchOperationType(ExtensionPoint extPoint, BatchOperationType op) { if (op == null) { extPoint.removeExtension(BatchOperation.class); } else { extPoint.setExtension(new BatchOperation(op)); } }
/** * Sets the value of the tag {@code <batch:id>}. * * @param extPoint extension point to put the id on * @param id the batch id or null to remove it */ public static void setBatchId(ExtensionPoint extPoint, String id) { if (id == null) { extPoint.removeExtension(BatchId.class); } else { extPoint.setExtension(new BatchId(id)); } }
/** * Sets the batch operation to execute in a {@link BaseEntry}. * * @param extPoint extension point to set the operation type on * @param op batch operation type or null to remove it */ public static void setBatchOperationType(ExtensionPoint extPoint, BatchOperationType op) { if (op == null) { extPoint.removeExtension(BatchOperation.class); } else { extPoint.setExtension(new BatchOperation(op)); } }
/** * Sets the batch operation to execute in a {@link BaseEntry}. * * @param extPoint extension point to set the operation type on * @param op batch operation type or null to remove it */ public static void setBatchOperationType(ExtensionPoint extPoint, BatchOperationType op) { if (op == null) { extPoint.removeExtension(BatchOperation.class); } else { extPoint.setExtension(new BatchOperation(op)); } }
/** * Removes the first Box extension found on the extension point. If the * box extension is a GeoRssWhere, it will only remove the GeoRssWhere * extension if it does not contain a Point extension. * * @param ext The extension point from which to clear the Box extension. */ public static void clearBox(ExtensionPoint ext) { Box b = getBoxExtension(ext); if (b != null) { if (b instanceof GeoRssWhere) { GeoRssWhere where = (GeoRssWhere)b; if (where.hasPoint()) { // If the GeoRssWhere has a point, just clear the box. Otherwise // remove the whole thing. where.clearBox(); return; } } ext.removeExtension(b); } }
/** * Removes the first Point extension found on the extension point. If the * point extension is a GeoRssWhere, it will only remove the GeoRssWhere * extension if it does not contain a Box/Envelope extension. * * @param ext The extension point from which to clear the Box extension. */ public static void clearPoint(ExtensionPoint ext) { Point p = getPointExtension(ext); if (p != null) { if (p instanceof GeoRssWhere) { GeoRssWhere where = (GeoRssWhere)p; if (where.hasBox()) { // If the GeoRssWhere has a box, just clear the point, otherwise // remove the whole thing. where.clearPoint(); return; } } ext.removeExtension(p); } } }
/** * Removes the first Box extension found on the extension point. If the * box extension is a GeoRssWhere, it will only remove the GeoRssWhere * extension if it does not contain a Point extension. * * @param ext The extension point from which to clear the Box extension. */ public static void clearBox(ExtensionPoint ext) { Box b = getBoxExtension(ext); if (b != null) { if (b instanceof GeoRssWhere) { GeoRssWhere where = (GeoRssWhere)b; if (where.hasPoint()) { // If the GeoRssWhere has a point, just clear the box. Otherwise // remove the whole thing. where.clearBox(); return; } } ext.removeExtension(b); } }
/** * Removes the first Point extension found on the extension point. If the * point extension is a GeoRssWhere, it will only remove the GeoRssWhere * extension if it does not contain a Box/Envelope extension. * * @param ext The extension point from which to clear the Box extension. */ public static void clearPoint(ExtensionPoint ext) { Point p = getPointExtension(ext); if (p != null) { if (p instanceof GeoRssWhere) { GeoRssWhere where = (GeoRssWhere)p; if (where.hasBox()) { // If the GeoRssWhere has a box, just clear the point, otherwise // remove the whole thing. where.clearPoint(); return; } } ext.removeExtension(p); } } }
/** * Removes the first Box extension found on the extension point. If the * box extension is a GeoRssWhere, it will only remove the GeoRssWhere * extension if it does not contain a Point extension. * * @param ext The extension point from which to clear the Box extension. */ public static void clearBox(ExtensionPoint ext) { Box b = getBoxExtension(ext); if (b != null) { if (b instanceof GeoRssWhere) { GeoRssWhere where = (GeoRssWhere)b; if (where.hasPoint()) { // If the GeoRssWhere has a point, just clear the box. Otherwise // remove the whole thing. where.clearBox(); return; } } ext.removeExtension(b); } }
/** * Removes the first Point extension found on the extension point. If the * point extension is a GeoRssWhere, it will only remove the GeoRssWhere * extension if it does not contain a Box/Envelope extension. * * @param ext The extension point from which to clear the Box extension. */ public static void clearPoint(ExtensionPoint ext) { Point p = getPointExtension(ext); if (p != null) { if (p instanceof GeoRssWhere) { GeoRssWhere where = (GeoRssWhere)p; if (where.hasBox()) { // If the GeoRssWhere has a box, just clear the point, otherwise // remove the whole thing. where.clearPoint(); return; } } ext.removeExtension(p); } } }