com.google.caja.demos.playground.client
Class Playground

java.lang.Object
  extended by com.google.caja.demos.playground.client.Playground
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint

public class Playground
extends java.lang.Object
implements com.google.gwt.core.client.EntryPoint

Main entry point for GWT-based Caja playground

Author:
Jasvir Nagra (jasvir@gmail.com)

Field Summary
private  PlaygroundServiceAsync cajolingService
           
private  PlaygroundView gui
           
 
Constructor Summary
Playground()
           
 
Method Summary
 void cajole(java.lang.String uri, java.lang.String input, java.lang.String policy, boolean debugMode)
           
 void clearPolicy()
           
 void loadPolicy(java.lang.String url)
           
 void loadSource(java.lang.String url)
           
 void onModuleLoad()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gui

private PlaygroundView gui

cajolingService

private PlaygroundServiceAsync cajolingService
Constructor Detail

Playground

public Playground()
Method Detail

loadSource

public void loadSource(java.lang.String url)

clearPolicy

public void clearPolicy()

loadPolicy

public void loadPolicy(java.lang.String url)

cajole

public void cajole(java.lang.String uri,
                   java.lang.String input,
                   java.lang.String policy,
                   boolean debugMode)

onModuleLoad

public void onModuleLoad()
Specified by:
onModuleLoad in interface com.google.gwt.core.client.EntryPoint


Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0