idman.p3p.element
Class AccessElement

java.lang.Object
  |
  +--idman.p3p.element.AccessElement

public class AccessElement
extends java.lang.Object

The ACCESS element indicates whether the site provides access to various kinds of information.
See P3P-Specification.
<!-- ************* ACCESS ************* -->
<!ELEMENT ACCESS (EXTENSION*,
(nonident
| all
| contact-and-other
| ident-contact
| other-ident
| none),
EXTENSION*)>
<!ELEMENT nonident EMPTY>
<!ELEMENT all EMPTY>
<!ELEMENT contact-and-other EMPTY>
<!ELEMENT ident-contact EMPTY>
<!ELEMENT other-ident EMPTY>
<!ELEMENT none EMPTY>

Version:
$Id: AccessElement.java,v 1.5 2003/10/06 06:34:40 tk4 Exp $
Author:
Sven Doering

Field Summary
static java.lang.String all
          All Identifiable Information
static java.lang.String contact_and_other
          identified Contact Information and Other Identified Data
static java.lang.String ident_contact
          Identifiable Contact Information
static java.lang.String none
          None
static java.lang.String nonident
          Identified Data is Not Used
static java.lang.String other_ident
          Other Identified Data
 
Constructor Summary
AccessElement(idman.p3p.element.ExtensionElement[] preExtension, java.lang.String access, idman.p3p.element.ExtensionElement[] postExtension)
          Creates the AccessElement.
 
Method Summary
 java.lang.String getAccess()
          Returns the access-String.
 idman.p3p.element.ExtensionElement[] getPostExtension()
          Returns the postExtension.
 idman.p3p.element.ExtensionElement[] getPreExtension()
          Returns the preExtension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nonident

public static java.lang.String nonident
Identified Data is Not Used


all

public static java.lang.String all
All Identifiable Information


contact_and_other

public static java.lang.String contact_and_other
identified Contact Information and Other Identified Data


ident_contact

public static java.lang.String ident_contact
Identifiable Contact Information


other_ident

public static java.lang.String other_ident
Other Identified Data


none

public static java.lang.String none
None

Constructor Detail

AccessElement

public AccessElement(idman.p3p.element.ExtensionElement[] preExtension,
                     java.lang.String access,
                     idman.p3p.element.ExtensionElement[] postExtension)
              throws java.lang.Exception
Creates the AccessElement. The access-String must not be null! this null-case throws an Exception.

Parameters:
preExtension - Extensions to prepend
access - Description of access
postExtension - Extensions to append
Throws:
java.lang.Exception - if access==null holds.
Method Detail

getAccess

public java.lang.String getAccess()
Returns the access-String.

Returns:
String access

getPreExtension

public idman.p3p.element.ExtensionElement[] getPreExtension()
Returns the preExtension.

Returns:
ExtensionElement[] preExtension

getPostExtension

public idman.p3p.element.ExtensionElement[] getPostExtension()
Returns the postExtension.

Returns:
ExtensionElement[] postExtension


Copyright © 2003 DRIM Team. All Rights Reserved.