KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > wireless > wml > dom > WMLAccessElement


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Original Code is DigitalSesame
15  * Portions created by DigitalSesame are Copyright (C) 1997-2000 DigitalSesame
16  * All Rights Reserved.
17  *
18  * Contributor(s):
19  *
20  * $Id: WMLAccessElement.java,v 1.1.1.1 2003/03/10 16:36:08 taweili Exp $
21  */

22
23 /**
24  * The interface is modeled after DOM1 Spec for HTML from W3C.
25  * The DTD used in this DOM model is from
26  * http://www.wapforum.org/DTD/wml_1.1.xml
27  */

28
29 /**
30  * The access element specifics the access control for the entire deck
31  * (Section 11.3.1, WAP WML Version 16-Jun-1999)
32  */

33 package org.enhydra.wireless.wml.dom;
34
35 public interface WMLAccessElement extends WMLElement {
36
37     /**
38      * A deck's domain and path attributes specify which deck may
39      * access it.
40      *
41      * domain attribute is suffix-matched against the domain name
42      * portion of the referring URI
43      */

44     public void setDomain(String JavaDoc newValue);
45     public String JavaDoc getDomain();
46
47     /**
48      * path attribute is prefix-matched against the path portion of
49      * the referring URI
50      */

51     public void setPath(String JavaDoc newValue);
52     public String JavaDoc getPath();
53 }
54
Popular Tags