code: public NodeType getNodeType(final String nodeTypeName) throws NoSuchNodeTypeException, RepositoryException
     {
        NodeTypeData ntdata = typesManager.getNodeType(locationFactory.parseJCRName(nodeTypeName).getInternalName());
        if (ntdata != null)
        {
           return new NodeTypeImpl(ntdata, typesManager, this, locationFactory, valueFactory, dataManager);
        }
        throw new NoSuchNodeTypeException("Nodetype not found " + nodeTypeName);
     }
docs: {@inheritDoc}