Package org.eclipse.jst.pagedesigner.converter

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


   */
  public ITagConverter getTagConverter(Element element, int mode, IDOMDocument document) {
    ITagConverter tagConverter = null;
    String nsURI = CMUtil.getElementNamespaceURI(element);
    //try MD-driven approach
    IConverterFactory tagConverterFactory = getTagConverterFactory(nsURI);
    if (tagConverterFactory != null) {
      tagConverter = tagConverterFactory.createConverter(element, mode);
      if (tagConverter != null) {
        tagConverter.setDestDocument(document);
      } else {
        //fallback to contributed (non-MD-driven) approach
        tagConverter = ConverterFactoryRegistry.getInstance().createTagConverter(element, mode, document);
View Full Code Here

TOP

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

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.