Package org.eclipse.jst.pagedesigner.dtmanager.converter

Examples of org.eclipse.jst.pagedesigner.dtmanager.converter.ITransformer


  public Element render(ITagConverterContext newTagConverterContext) {
    this.tagConverterContext = newTagConverterContext;
    Element srcElement = newTagConverterContext.getHostElement();
    Element resultElement = null;
    if (srcElement != null) {
      ITransformer transformer = createTransformerFromDTInfo(srcElement);
      if (transformer != null) {
        resultElement = transformer.transform(srcElement);
      }
    }
    return resultElement;
  }
View Full Code Here


   * @param element Element for which to configure and return an ITransformer
   * instance.
   * @return Configured ITransformer instance for the specified Element.
   */
  protected ITransformer createTransformerFromDTInfo(Element element) {
    ITransformer transformer = null;
    DTManager dtManager = DTManager.getInstance();
    IDTInfo dtInfo = dtManager.getDTInfo(element);
    if (dtInfo != null) {
      TagConvertInfo tcInfo = dtInfo.getTagConvertInfo();
      if (tcInfo != null) {
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.dtmanager.converter.ITransformer

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.