code: public NodeType findNodeType(InternalQName nodeTypeName) throws NoSuchNodeTypeException, RepositoryException
     {
  
        NodeTypeData ntdata = typesManager.getNodeType(nodeTypeName);
        if (ntdata != null)
        {
           return new NodeTypeImpl(ntdata, typesManager, this, locationFactory, valueFactory, dataManager);
        }
        throw new NoSuchNodeTypeException("Nodetype not found " + nodeTypeName.getAsString());
     }
docs: JSR-170 stuff ================================