idman.p3p.element
Class ExpireElement

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

public class ExpireElement
extends java.lang.Object

The EXPIRY element can be used in a policy reference file and/or in a POLICIES element to state how long the policy reference file (or policies) remains valid.
See P3P-Specification.
<!-- ************* EXPIRY ************* -->
<!ELEMENT EXPIRY EMPTY>
<!ATTLIST EXPIRY
max-age %NUMBER; #IMPLIED
date CDATA #IMPLIED>

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

Constructor Summary
ExpireElement(java.lang.String max_age, java.lang.String date)
          Create an expireelement.
 
Method Summary
 java.lang.String getDate()
          Returns the expire-date (if available).
 java.lang.String getMaxAge()
          Returns the max_age (if available).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpireElement

public ExpireElement(java.lang.String max_age,
                     java.lang.String date)
Create an expireelement.

Parameters:
max_age - Expiration as offset
date - Expiration at fixed date
Method Detail

getMaxAge

public java.lang.String getMaxAge()
Returns the max_age (if available).

Returns:
String max_age

getDate

public java.lang.String getDate()
Returns the expire-date (if available).

Returns:
String expire-date


Copyright © 2003 DRIM Team. All Rights Reserved.