Package com.lunatech.doclets.jax.jaxrs.model

Examples of com.lunatech.doclets.jax.jaxrs.model.ResourceMethod


      if (lrm.size() == 0) {
        // not expected (resource with no methods)
        break;
      }
      // All methods on same resource, so path should be same
      ResourceMethod rm = lrm.get(0);
      for (MethodParameter param : rm.getPathParameters()) {
        if (needsPathHeading) {
          open("dt");
          around("b", "Path parameters:");
          close("dt");
          needsPathHeading = false;
        }
        open("dd");
        around("b", param.getName());
        String regex = rm.getPathParamRegex(param.getName());
        if (regex != null) {
          around("tt", " (" + regex + ")");
        }
        print(" - " + param.getDoc());
        close("dd");
View Full Code Here


        if (member instanceof MethodDoc) {
          // Check for a resource method
          res = application.findResourceForMethod(cDoc, (MethodDoc) member);

          if (res != null) {
            ResourceMethod rMethod = res.findMethod((MethodDoc) member);
            if (rMethod != null) {
              linkText = getDisplayText(res, rMethod);
              hash = rMethod.getMethods().get(0);
            }
          }
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.lunatech.doclets.jax.jaxrs.model.ResourceMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.