Package com.caucho.jsp.cfg

Examples of com.caucho.jsp.cfg.TldTag


  public TagInfo generateTagInfo(String className, TagLibraryInfo taglib)
  {
    init(className);
   
    TldTag tag = new TldTag();
   
    for (int i = 0; i < _attributes.size(); i++) {
      TldAttribute attr = _attributes.get(i);

      tag.addAttribute(attr);
    }
   
    for (int i = 0; i < _variables.size(); i++) {
      TldVariable var = _variables.get(i);

      try {
        tag.addVariable(var);
      } catch (Exception e) {
        log.log(Level.WARNING, e.toString(), e);
      }
    }
   
    String bodyContent = _bodyContent;
    if (bodyContent == null)
      bodyContent = "scriptless";
   
    return new TagInfoExt(tag.getName(),
                          _fullClassName,
                          bodyContent,
                          getDescription(),
                          taglib,
                          null,
                          tag.getAttributes(),
                          getDisplayName(),
                          getSmallIcon(),
                          getLargeIcon(),
                          tag.getVariables(),
                          _dynamicAttributes != null,
                          _dynamicAttributes,
                          null);
  }
View Full Code Here


    ArrayList<TldTag> tagList = taglib.getTagList();

    tags = new TagInfo[tagList.size()];

    for (int i = 0; i < tagList.size(); i++) {
      TldTag tag = tagList.get(i);

      TagInfo tagInfo;
     
      if (tag.getBaseTag() != null)
        tagInfo = new TagInfoImpl(tag, tag.getBaseTag(), this);
      else
        tagInfo = new TagInfoImpl(tag, this);

      tags[i] = tagInfo;
    }
View Full Code Here

  public TagInfo generateTagInfo(String className, TagLibraryInfo taglib)
  {
    init(className);
   
    TldTag tag = new TldTag();
   
    for (int i = 0; i < _attributes.size(); i++) {
      TldAttribute attr = _attributes.get(i);

      tag.addAttribute(attr);
    }
   
    for (int i = 0; i < _variables.size(); i++) {
      TldVariable var = _variables.get(i);

      try {
  tag.addVariable(var);
      } catch (Exception e) {
  log.log(Level.WARNING, e.toString(), e);
      }
    }
   
    String bodyContent = _bodyContent;
    if (bodyContent == null)
      bodyContent = "scriptless";
   
    return new TagInfoExt(tag.getName(),
        _fullClassName,
        bodyContent,
        getDescription(),
        taglib,
        null,
        tag.getAttributes(),
        getDisplayName(),
        getSmallIcon(),
        getLargeIcon(),
        tag.getVariables(),
        _dynamicAttributes != null,
        _dynamicAttributes,
        null);
  }
View Full Code Here

    ArrayList<TldTag> tagList = taglib.getTagList();

    tags = new TagInfo[tagList.size()];

    for (int i = 0; i < tagList.size(); i++) {
      TldTag tag = tagList.get(i);

      TagInfo tagInfo;
     
      if (tag.getBaseTag() != null)
  tagInfo = new TagInfoImpl(tag, tag.getBaseTag(), this);
      else
  tagInfo = new TagInfoImpl(tag, this);

      tags[i] = tagInfo;
    }
View Full Code Here

TOP

Related Classes of com.caucho.jsp.cfg.TldTag

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.