PAJES 3.0.21

org.pajes.security
Interface WritePermission

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultWritePermission

public interface WritePermission
extends java.io.Serializable

The WritePermission interface is implemented by classes that determine whether a specific piece of HTML is returned to a browser.


Method Summary
 boolean isPermitted(HTML object, Browser browser)
          Determines whether this piece of HTML should be returned to the requesting browser.
 

Method Detail

isPermitted

boolean isPermitted(HTML object,
                    Browser browser)
Determines whether this piece of HTML should be returned to the requesting browser.

Parameters:
object - the HTML object to be returned to the browser.
browser - the browser to which the results are to be output.
Returns:
true if the browser should receive this HTML, or false if it should not.

PAJES 3.0.21

Copyright 1998-2007 Viridian Pty Limited. All Rights Reserved.