Package org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional

Examples of org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDAttributeDeclaration


    TagLibraryInfo libInfo = new TagLibraryInfoImpl(prefix, uri, decl);

    CMNamedNodeMap attrs = decl.getAttributes();
    TagAttributeInfo[] attrInfos = new TagAttributeInfo[attrs.getLength()];
    TLDAttributeDeclaration attr = null;
    String type = ""; //$NON-NLS-1$

    // get tag attribute infos
    for (int i = 0; i < attrs.getLength(); i++) {
      attr = (TLDAttributeDeclaration) attrs.item(i);
      type = attr.getType();
      // default value for type is String
      if (attr.getType() == null || attr.getType().equals("")) //$NON-NLS-1$
        type = "java.lang.String"; //$NON-NLS-1$
      attrInfos[i] = new TagAttributeInfo(attr.getAttrName(), attr.isRequired(), type, false);
    }

    String tagName = decl.getNodeName();
    String tagClass = decl.getTagclass();
    String bodyContent = decl.getBodycontent();
View Full Code Here


    TagLibraryInfo libInfo = new TagLibraryInfoImpl(prefix, uri, decl);

    CMNamedNodeMap attrs = decl.getAttributes();
    TagAttributeInfo[] attrInfos = new TagAttributeInfo[attrs.getLength()];
    TLDAttributeDeclaration attr = null;
    String type = ""; //$NON-NLS-1$

    // get tag attribute infos
    for (int i = 0; i < attrs.getLength(); i++) {
      attr = (TLDAttributeDeclaration) attrs.item(i);
      type = attr.getType();
      // default value for type is String
      if (attr.getType() == null || attr.getType().equals("")) //$NON-NLS-1$
        type = "java.lang.String"; //$NON-NLS-1$
      attrInfos[i] = new TagAttributeInfo(attr.getAttrName(), attr.isRequired(), type, false);
    }

    String tagName = decl.getNodeName();
    String tagClass = decl.getTagclass();
    String bodyContent = decl.getBodycontent();
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDAttributeDeclaration

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.