Package org.archive.wayback.replay.html.transformer

Examples of org.archive.wayback.replay.html.transformer.URLStringTransformer


   * {@code transformers} map by their name.
   */
  protected void initTransformers() {
    if (jsBlockTrans == null)
      jsBlockTrans = new JSStringTransformer();
    URLStringTransformer anchorTrans = new URLStringTransformer();
    anchorTrans.setJsTransformer(jsBlockTrans);

    transformers = new HashMap<String, StringTransformer>();
    transformers.put("fw", new URLStringTransformer("fw_"));
    transformers.put("if", new URLStringTransformer("if_"));
    transformers.put("cs", new URLStringTransformer("cs_"));
    transformers.put("js", new URLStringTransformer("js_"));
    transformers.put("im", new URLStringTransformer("im_"));
    transformers.put("oe", new URLStringTransformer("oe_"));
    transformers.put("an", anchorTrans);
    transformers.put("jb", jsBlockTrans);
    transformers.put("ci", new InlineCSSStringTransformer());
    transformers.put("mt", new MetaRefreshUrlStringTransformer());
   
View Full Code Here

TOP

Related Classes of org.archive.wayback.replay.html.transformer.URLStringTransformer

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.