Examples of TLDElementDeclaration


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

    final String tagName = eledecl.getElementName();
    String label = null;
    String desc = null;

    if (eledecl instanceof TLDElementDeclaration) {
      final TLDElementDeclaration tag = (TLDElementDeclaration) eledecl;
      label = tag.getDisplayName();
      desc = tag.getDescription();
    }

    if (label == null || label.equals("")) //$NON-NLS-1$
      label = tagName;
View Full Code Here

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

       * As the document is edited and the IStructuredDocumentRegion
       * moved around, the block tag enablement will automatically
       * follow it.
       */
      for (int i = 0; i < elements.getLength(); i++) {
        TLDElementDeclaration ed = (TLDElementDeclaration) elements.item(i);
        if (ed.getBodycontent() == JSP12TLDNames.CONTENT_TAGDEPENDENT)
          addBlockTag(prefix + ":" + ed.getNodeName(), anchorStructuredDocumentRegion); //$NON-NLS-1$
      }
      /*
       * Since modifications to StructuredDocumentRegions adjacent to a
       * taglib directive can cause that IStructuredDocumentRegion to be
       * reported, filter out any duplicated URIs. When the taglib is
View Full Code Here

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

          if ((elements = doc.getElements()) != null && (node = elements.getNamedItem(tagToAdd)) != null && node.getNodeType() == CMNode.ELEMENT_DECLARATION) {
 
            if (node instanceof CMNodeWrapper) {
              node = ((CMNodeWrapper) node).getOriginNode();
            }
            TLDElementDeclaration tldElementDecl = (TLDElementDeclaration) node;

            tagClass = tldElementDecl.getTagclass();
            teiClass = tldElementDecl.getTeiclass();
            isIterationTag = isIterationTag(tldElementDecl, structuredDoc, customTag, problems);
            /*
             * Although clearly not the right place to add validation
             * design-wise, this is the first time we have the
             * necessary information to validate the tag class.
View Full Code Here

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

        if ((elements = doc.getElements()) != null && (node = elements.getNamedItem(tagToAdd)) != null && node.getNodeType() == CMNode.ELEMENT_DECLARATION) {

          if (node instanceof CMNodeWrapper) {
            node = ((CMNodeWrapper) node).getOriginNode();
          }
          TLDElementDeclaration tldElementDecl = (TLDElementDeclaration) node;

          /*
           * Although clearly not the right place to add validation
           * design-wise, this is the first time we have the
           * necessary information to validate the tag class.
View Full Code Here

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

          if ((elements = doc.getElements()) != null && (node = elements.getNamedItem(tagToAdd)) != null && node.getNodeType() == CMNode.ELEMENT_DECLARATION) {
 
            if (node instanceof CMNodeWrapper) {
              node = ((CMNodeWrapper) node).getOriginNode();
            }
            TLDElementDeclaration tldElementDecl = (TLDElementDeclaration) node;

            tagClass = tldElementDecl.getTagclass();
            teiClass = tldElementDecl.getTeiclass();
            isIterationTag = isIterationTag(tldElementDecl, structuredDoc, customTag, problems);
            /*
             * Although clearly not the right place to add validation
             * design-wise, this is the first time we have the
             * necessary information to validate the tag class.
View Full Code Here

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

        if ((elements = doc.getElements()) != null && (node = elements.getNamedItem(tagToAdd)) != null && node.getNodeType() == CMNode.ELEMENT_DECLARATION) {

          if (node instanceof CMNodeWrapper) {
            node = ((CMNodeWrapper) node).getOriginNode();
          }
          TLDElementDeclaration tldElementDecl = (TLDElementDeclaration) node;

          /*
           * Although clearly not the right place to add validation
           * design-wise, this is the first time we have the
           * necessary information to validate the tag class.
View Full Code Here

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

       * As the document is edited and the IStructuredDocumentRegion
       * moved around, the block tag enablement will automatically
       * follow it.
       */
      for (int i = 0; i < elements.getLength(); i++) {
        TLDElementDeclaration ed = (TLDElementDeclaration) elements.item(i);
        if (ed.getBodycontent() == JSP12TLDNames.CONTENT_TAGDEPENDENT)
          addBlockTag(prefix + ":" + ed.getNodeName(), anchorStructuredDocumentRegion); //$NON-NLS-1$
      }
      /*
       * Since modifications to StructuredDocumentRegions adjacent to a
       * taglib directive can cause that IStructuredDocumentRegion to be
       * reported, filter out any duplicated URIs. When the taglib is
View Full Code Here

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

    final String tagName = eledecl.getElementName();
    String label = null;
    String desc = null;

    if (eledecl instanceof TLDElementDeclaration) {
      final TLDElementDeclaration tag = (TLDElementDeclaration) eledecl;
      label = tag.getDisplayName();
      desc = tag.getDescription();
    }

    if (label == null || label.equals("")) //$NON-NLS-1$
      label = tagName;
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.