Package org.eclipse.jst.pagedesigner.converter

Examples of org.eclipse.jst.pagedesigner.converter.AbstractTagConverter


    }
    if (!HTMLUtil.isVisualHtmlElement(tagName)) {
      return new HiddenTagConverter2(element, getUnknownImage());
    }

    AbstractTagConverter c;
    if (IHTMLConstants.TAG_TABLE.equalsIgnoreCase(tagName)) {
      c = new TableTagConverter(element);
    } else if (IHTMLConstants.TAG_A.equalsIgnoreCase(tagName)) {
      c = new ATagConverter(element);
    } else if (IHTMLConstants.TAG_FORM.equalsIgnoreCase(tagName)) {
      // for those HTML tag that we want to build a border decorator,
      // should
      // go there.
      c = new DumTagConverter(element, true);
    } else if (IHTMLConstants.TAG_HTML.equalsIgnoreCase(tagName)
        || IHTMLConstants.TAG_BODY.equalsIgnoreCase(tagName)) {
      c = new DumDescriptionTagConverter(element);
      c.setNeedBorderDecorator(true);
    } else {
      c = new DumTagConverter(element);
    }
    c.setMode(mode);
    return c;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.converter.AbstractTagConverter

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.