| java.lang.Object org.openlaszlo.server.Option
Option | public class Option implements Serializable(Code) | | An Option contains a set of deny and allow patterns.
author: Eric Bloch version: 1.0 |
Method Summary | |
public void | addElement(Element el) | boolean | allows(String val, boolean allow) Parameters: val - value to check against Parameters: allow - if true, an undefined option means that it is allowed, elseit is denied. | void | init() |
Option | Option(Element el)(Code) | | Constructs a new option
Parameters: elt - |
addElement | public void addElement(Element el)(Code) | | Add new patterns to option
|
allows | boolean allows(String val, boolean allow)(Code) | | Parameters: val - value to check against Parameters: allow - if true, an undefined option means that it is allowed, elseit is denied. true if this option allows the given value |
|
|