Examples of CfmlTagDescription


Examples of com.intellij.coldFusion.model.info.CfmlTagDescription

  public static String getTagDescription(String tagName, Project project) {
    if (!CfmlLangInfo.getInstance(anyProject(project)).getTagAttributes().containsKey(tagName)) {
      return null;
    }
    CfmlTagDescription a = CfmlLangInfo.getInstance(anyProject(project)).getTagAttributes().get(tagName);
    return "<div>Name: " +
           tagName +
           "</div>" +
           "<div>IsEndTagRequired: " +
           a.isEndTagRequired() +
           "</div>" +
           "<div>Descriprion: " +
           a.getDescription() +
           "</div>" +
           "<div>For more information visit <a href = \"http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags-pt0_01.html\">" +
           "\"http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags-pt0_01.html\"</div>";
  }
View Full Code Here

Examples of com.intellij.coldFusion.model.info.CfmlTagDescription

    return af.toString();
  }

  @Nullable
  public static CfmlAttributeDescription getAttribute(String tagName, String attributeName, Project project) {
    CfmlTagDescription tagDescription = CfmlLangInfo.getInstance(anyProject(project)).getTagAttributes().get(tagName);
    if (tagDescription == null) return null;
    final Collection<CfmlAttributeDescription> attributesCollection = tagDescription.getAttributes();
    for (CfmlAttributeDescription af : attributesCollection) {
      if (af.acceptName(attributeName)) {
        return af;
      }
    }
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.