|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--idman.p3p.element.PolicyElement
The POLICY element contains a complete P3P policy. Each P3P policy MUST
contain exactly one POLICY element. The policy element MUST contain an
ENTITY element that identifies the legal entity making the representation
of the privacy practices contained in the policy. In addition, the policy
element MUST contain an ACCESS element, one or more STATEMENT elements.
See P3P-Specification.
<!-- ************* POLICY ************* -->
<!ELEMENT POLICY (EXTENSION*,
TEST?,
ENTITY,
ACCESS,
DISPUTES-GROUP?,
STATEMENT+,
EXTENSION*)>
<!ATTLIST POLICY
name ID #REQUIRED
discuri %URI; #REQUIRED
opturi %URI; #IMPLIED
xml:lang NMTOKEN #IMPLIED>
Constructor Summary | |
PolicyElement(idman.p3p.element.ExtensionElement[] preExtension,
idman.p3p.element.ExtensionElement[] postExtension,
java.lang.String name,
java.lang.String discuri,
java.lang.String opturi,
java.lang.String lang,
idman.p3p.element.EntityElement entity,
idman.p3p.element.AccessElement access,
idman.p3p.element.StatementElement[] statements)
Creates the Policy. |
Method Summary | |
idman.p3p.element.AccessElement |
getAccess()
Returns the access. |
java.lang.String |
getDiscuri()
Returns the discuri-String. |
idman.p3p.element.EntityElement |
getEntity()
Returns the entity. |
java.lang.String |
getLanguage()
Returns the language-String. |
java.lang.String |
getName()
Returns the name-String. |
java.lang.String |
getOpturi()
Returns the opturi-String. |
idman.p3p.element.ExtensionElement[] |
getPostExtension()
Returns the postExtension. |
idman.p3p.element.ExtensionElement[] |
getPreExtension()
Returns the preExtension. |
idman.p3p.element.StatementElement[] |
getStatements()
Returns the statements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicyElement(idman.p3p.element.ExtensionElement[] preExtension, idman.p3p.element.ExtensionElement[] postExtension, java.lang.String name, java.lang.String discuri, java.lang.String opturi, java.lang.String lang, idman.p3p.element.EntityElement entity, idman.p3p.element.AccessElement access, idman.p3p.element.StatementElement[] statements)
preExtension
- Extensions to prependname
- Name of this policydiscuri
- URI for discussionopturi
- URI for optin/optputlang
- Languageentity
- Entity proposing this policyaccess
- Access granted under this policystatements
- Statements under this policypostExtension
- Extensions to appendMethod Detail |
public idman.p3p.element.EntityElement getEntity()
public idman.p3p.element.AccessElement getAccess()
public idman.p3p.element.StatementElement[] getStatements()
public java.lang.String getName()
public java.lang.String getDiscuri()
public java.lang.String getOpturi()
public java.lang.String getLanguage()
public idman.p3p.element.ExtensionElement[] getPreExtension()
public idman.p3p.element.ExtensionElement[] getPostExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |