01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.wml;
18:
19: /**
20: * <p>The interface is modeled after DOM1 Spec for HTML from W3C.
21: * The DTD used in this DOM model is from
22: * <a href="http://www.wapforum.org/DTD/wml_1.1.xml">
23: * http://www.wapforum.org/DTD/wml_1.1.xml</a></p>
24: *
25: * <p>'access' element specifics the access control for the entire deck
26: * (Section 11.3.1, WAP WML Version 16-Jun-1999)</p>
27: *
28: * @version $Id: WMLAccessElement.java 447258 2006-09-18 05:41:23Z mrglavas $
29: * @author <a href="mailto:david@topware.com.tw">David Li</a>
30: */
31:
32: public interface WMLAccessElement extends WMLElement {
33:
34: /**
35: * A deck's domain and path attributes specify which deck may
36: * access it.
37: *
38: * domain attribute is suffix-matched against the domain name
39: * portion of the referring URI
40: */
41: public void setDomain(String newValue);
42:
43: public String getDomain();
44:
45: /**
46: * path attribute is prefix-matched against the path portion of
47: * the referring URI
48: */
49: public void setPath(String newValue);
50:
51: public String getPath();
52: }
|