remove a CFX Tag

@param name
@throws ExpressionException
@throws SecurityException
510425
public void removeCFX(String name) throws ExpressionException, SecurityException {
	checkWriteAccess();
	// check parameters
	if (name == null || name.length() == 0) throw new ExpressionException("name for CFX Tag can be a empty value");

	renameOldstyleCFX();

	Element mappings = _getRootElement("ext-tags");

	Element[] children = XMLConfigWebFactory.getChildren(mappings, "ext-tag");
	for (int i = 0; i < children.length; i++) {
	    String n = children[i].getAttribute("name");
	    if (n != null && n.equalsIgnoreCase(name)) {
		mappings.removeChild(children[i]);
	    }
	}
    }
891151
public void deleteProperty(String name) {
		String[] propName = parsePropertyName(name);
		// Search for this property by traversing down the XML heirarchy.
		Element element = doc.getRootElement();
		for (int i = 0; i < propName.length - 1; i++) {
			element = element.getChild(propName[i]);
			// Can't find the property so return.
			if (element == null) {
				return;
			}
		}
		// Found the correct element to remove, so remove it...
		element.removeChild(propName[propName.length - 1]);

	}
417775
@Override
    public void removeAppender(String name) {
        if (name == null || aai == null) {
            return;
        }
        Appender appender = aai.getAppender(name);
        aai.removeAppender(name);
        if (appender != null) {
            fireRemoveAppenderEvent(appender);
        }
    }
1100793
public FormElementController removeElement(String name) {
        FormElementController element = elements.remove(name);
        orderedElements.remove(element);
        return element;
    }
222739
public TagCrawler removeHandler(String name) {
        if (handlers.containsKey(name)) {
            handlers.remove(name);
        }
        return this;
    }
411016
public boolean removeDefaultToken(String name) {
		String normalisedName = getNormalisedSessionTokenName(name);
		Optional<HttpSessionToken> maybeToken = getDefaultToken(normalisedName);
		if (maybeToken.isPresent()) {
			defaultTokens.remove(maybeToken.get());
			defaultTokensEnabled.remove(normalisedName);
			saveDefaultTokens();
			return true;
		}
		return false;
	}
34625
public void removeSecurityDomain(String securityDomainName) throws Exception {

        // If not there just return
        if (!isSecurityDomain(securityDomainName)) {
            return;
        }

        final Address addr = Address.root().add(SUBSYSTEM, SUBSYSTEM_SECURITY, SECURITY_DOMAIN, securityDomainName);
        ModelNode removeSecurityDomainNode = createRequest(REMOVE, addr);

        final ModelNode results = execute(removeSecurityDomainNode);
        if (!isSuccess(results)) {
            throw new FailureException(results, "Failed to remove security domain [" + securityDomainName + "]");
        }

        return;
    }
24556
public void removeHeader( String name )
    {
        ListIterator<Header> it = headers.listIterator();
        while ( it.hasNext() ) {
            if ( it.next().getName().equals( name ) ) {
                it.remove();
            }
        }
    }
94980
public void removeChildrenWithName(String name) {
        for (int i = children.size() - 1; i >= 0; i--) {
            if (children.get(i).name.equals(name)) {
                children.remove(i).parent = null;
            }
        }
    }
736420
public void unregisterFunction(final String name) throws Exception
    {
        final String token = name.toLowerCase();
        if (!functionMap.containsKey(token))
            throw new Exception("unknown function: " + token);
        functionMap.remove(token);
    }
542533
public void clearAndCancelActivationGroup(final String name) {
        final InternalActivationGroup activationGroup = this.activationGroups.get( name );
        if ( activationGroup != null ) {
            clearAndCancelActivationGroup( activationGroup );
        }
    }
92170
public void unregisterOperator(final String name) throws Exception
    {
        final String token = name.toLowerCase();
        if (!operatorMap.containsKey(token))
            throw new Exception("unknown operator: " + token);
        operatorMap.remove(token);
    }
1320793
public void delete(String name)
    throws CertificateException, IOException {
        X509AttributeName attrName = new X509AttributeName(name);

        int attr = attributeMap(attrName.getPrefix());
        if (attr == 0) {
            throw new CertificateException("Attribute name not recognized: "
                                           + name);
        }
        // set rawCertInfo to null, so that we are forced to re-encode
        rawCertInfo = null;
        String suffix = attrName.getSuffix();

        switch (attr) {
        case ATTR_VERSION:
            if (suffix == null) {
                version = null;
            } else {
                version.delete(suffix);
            }
            break;
        case (ATTR_SERIAL):
            if (suffix == null) {
                serialNum = null;
            } else {
                serialNum.delete(suffix);
            }
            break;
        case (ATTR_ALGORITHM):
            if (suffix == null) {
                algId = null;
            } else {
                algId.delete(suffix);
            }
            break;
        case (ATTR_ISSUER):
            issuer = null;
            break;
        case (ATTR_VALIDITY):
            if (suffix == null) {
                interval = null;
            } else {
                interval.delete(suffix);
            }
            break;
        case (ATTR_SUBJECT):
            subject = null;
            break;
        case (ATTR_KEY):
            if (suffix == null) {
                pubKey = null;
            } else {
                pubKey.delete(suffix);
            }
            break;
        case (ATTR_ISSUER_ID):
            issuerUniqueId = null;
            break;
        case (ATTR_SUBJECT_ID):
            subjectUniqueId = null;
            break;
        case (ATTR_EXTENSIONS):
            if (suffix == null) {
                extensions = null;
            } else {
                if (extensions != null)
                   extensions.delete(suffix);
            }
            break;
        }
    }
1054009
public void removeCustomTag(String virtual) throws SecurityException {
	checkWriteAccess();

	Element mappings = _getRootElement("custom-tag");
	Element[] children = XMLConfigWebFactory.getChildren(mappings, "mapping");
	for (int i = 0; i < children.length; i++) {
	    if (virtual.equals(createVirtual(children[i]))) mappings.removeChild(children[i]);
	}
    }
757055
private function validateTagName(string $name): void
    {
        if (! preg_match('/^' . StandardTagFactory::REGEX_TAGNAME . '$/u', $name)) {
            throw new \InvalidArgumentException(
                'The tag name "' . $name . '" is not wellformed. Tags may only consist of letters, underscores, '
                . 'hyphens and backslashes.'
            );
        }
    }
1322120
public Variable remove(String name) {
        if (context.containsKey(name)) {
            return context.remove(name);
        } else {
            return null;
        }
    }
947106
@Procedure(mode = Mode.WRITE)
    @Description("apoc.index.removeNodeByName('name',node) remove node from an index for the given name")
    public void removeNodeByName(@Name("name") String name, @Name("node") Node node) {
        Index<Node> index = getNodeIndex(name, null);
        index.remove(node);
    }