Package com.google.caja.lang.html

Examples of com.google.caja.lang.html.HtmlSchema


            "resource:///com/google/caja/lang/css/css-extensions-fns.json"),
            mq));
  }

  public HtmlSchema getHtmlSchema(MessageQueue mq) {
    return new HtmlSchema(
        whitelist(htmlElementWhitelistUri, mq),
        whitelist(htmlAttributeWhitelistUri, mq));
  }
View Full Code Here


  }

  @Override
  protected boolean runPipeline(Jobs jobs) throws Exception {
    mq.getMessages().clear();
    HtmlSchema schema = HtmlSchema.getDefault(mq);
    return new ResolveUriStage(schema).apply(jobs)
        && new RewriteHtmlStage(schema, new StubJobCache()).apply(jobs);
  }
View Full Code Here

TOP

Related Classes of com.google.caja.lang.html.HtmlSchema

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.