Package com.cognifide.slice.commons.link

Examples of com.cognifide.slice.commons.link.LinkExternalizerImpl


        final LinkBuilderImpl linkBuilder = new LinkBuilderImpl();
        linkBuilder.setPath(handle);
        linkBuilder.setSelectorString(selector);
        linkBuilder.setExtension(extension);

        final LinkExternalizer linkExternalizer = new LinkExternalizerImpl(null);
        getJspWriter().write(linkExternalizer.externalizeLink(linkBuilder.toLink()).toString());
      } catch (Exception e) {
        // should never occur
        logger.error("unexpected exception occured", e);
      }
    }
View Full Code Here


          final LinkBuilderImpl linkBuilder = new LinkBuilderImpl();
          linkBuilder.setPath(link);
          linkBuilder.setSelectorString(selector);
          linkBuilder.setExtension(extension);

          final LinkExternalizer linkExternalizer = new LinkExternalizerImpl(null);
          link = linkExternalizer.externalizeLink(linkBuilder.toLink()).toString();
        }

        JspWriter out = getJspWriter();
        out.append("<a");
        apppendAttributeIfNotBlank(out, "href", link);
View Full Code Here

TOP

Related Classes of com.cognifide.slice.commons.link.LinkExternalizerImpl

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.