Examples of YCmpXsdElement


Examples of de.hybris.yfaces.doclet.YCmpXsdElement

  public void processClass(final ClassDoc clazz)
  {
    final String name = clazz.qualifiedName();

    //lookup for a YComponent under current class
    final YCmpXsdElement xcmp = componentMap.get(name);

    //when component is available...
    if (xcmp != null)
    {
      xcmp.setComment(clazz.commentText());
      for (MethodDoc md : clazz.methods())
      {
        if (md.name().startsWith("set"))
        {
          String property = md.name().substring(3).toLowerCase();

          YCmpXsdAttribute xsdprop = xcmp.getAttribute(property);
          if (xsdprop != null)
          {
            String descr = md.commentText();
            xsdprop.setDescription(descr);
            xsdprop.setType(md.signature().substring(1, md.signature().length() - 1));
View Full Code Here

Examples of de.hybris.yfaces.doclet.YCmpXsdElement

        final URL url = _file.toURL();
        final Matcher m = pattern.matcher(url.toExternalForm());
        if (m.matches())
        {
          final YComponentInfo cmp = new YComponentInfo(url);
          this.componentMap.put(cmp.getSpecificationClassName(), new YCmpXsdElement(cmp));
        }
      }
    }
    catch (Exception e)
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.