code: public void unregisterNodeType(String name) throws UnsupportedRepositoryOperationException, NoSuchNodeTypeException,
        RepositoryException
     {
        InternalQName nodeTypeName = locationFactory.parseJCRName(name).getInternalName();
        if (typesManager.getNodeType(nodeTypeName) == null)
        {
           throw new NoSuchNodeTypeException(name);
        }
        typesManager.unregisterNodeType(nodeTypeName);
     }
docs: {@inheritDoc}