idman.p3p.element
Class PoliciesElement

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

public class PoliciesElement
extends java.lang.Object

The POLICIES element gathers one or more P3P policies together in a single file. This is provided as a performance optimization: many policies can be collected with a single request, improving network traffic and caching.
See P3P-Specification.
<!-- ************ POLICIES ************ -->
<!ELEMENT POLICIES (EXPIRY?, DATASCHEMA?, POLICY*)>
<!ATTLIST POLICIES xml:lang NMTOKEN #IMPLIED>
<!ATTLIST POLICIES xmlns CDATA #FIXED "http://www.w3.org/2002/01/P3Pv1">

Since:
18. 06. 2002
Version:
$Id: PoliciesElement.java,v 1.1 2003/11/13 16:24:32 tk4 Exp $
Author:
Sven Doering

Constructor Summary
PoliciesElement(java.lang.String lang, idman.p3p.element.PolicyElement[] policen, idman.p3p.element.DataSchemaElement dataschema, idman.p3p.element.ExpireElement expire)
          Creates the Policies.
 
Method Summary
 idman.p3p.element.DataSchemaElement getDataSchema()
          Returns the dataschema.
 idman.p3p.element.ExpireElement getExpire()
          Returns the expire-element.
 java.lang.String getLanguage()
          Returns the language-String.
 idman.p3p.element.PolicyElement[] getPolicen()
          Returns the policies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoliciesElement

public PoliciesElement(java.lang.String lang,
                       idman.p3p.element.PolicyElement[] policen,
                       idman.p3p.element.DataSchemaElement dataschema,
                       idman.p3p.element.ExpireElement expire)
Creates the Policies.

Parameters:
lang - Language
policen - Policies
dataschema - Schema used
expire - Expiration of the policies
Method Detail

getLanguage

public java.lang.String getLanguage()
Returns the language-String.

Returns:
String language

getPolicen

public idman.p3p.element.PolicyElement[] getPolicen()
Returns the policies.

Returns:
Policy[] policen

getDataSchema

public idman.p3p.element.DataSchemaElement getDataSchema()
Returns the dataschema.

Returns:
DataSchema dataschema

getExpire

public idman.p3p.element.ExpireElement getExpire()
Returns the expire-element.

Returns:
ExpireElement expire


Copyright © 2003 DRIM Team. All Rights Reserved.