XFA4J

com.adobe.xfa.protocol
Enum Protocol.TrustType

java.lang.Object
  extended by java.lang.Enum<Protocol.TrustType>
      extended by com.adobe.xfa.protocol.Protocol.TrustType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Protocol.TrustType>
Enclosing interface:
Protocol

public static enum Protocol.TrustType
extends java.lang.Enum<Protocol.TrustType>

An enumeration of trust enforcement rules.


Enum Constant Summary
CROSS_DOMAIN
          Trust cross domain URLs.
DATA_INJECTION
          Trust URLs coming from data.
SCRIPT_INJECTION
          Trust URLs coming from script.
URL
          Trust url.
 
Method Summary
static Protocol.TrustType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Protocol.TrustType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

URL

public static final Protocol.TrustType URL
Trust url.


CROSS_DOMAIN

public static final Protocol.TrustType CROSS_DOMAIN
Trust cross domain URLs.


DATA_INJECTION

public static final Protocol.TrustType DATA_INJECTION
Trust URLs coming from data.


SCRIPT_INJECTION

public static final Protocol.TrustType SCRIPT_INJECTION
Trust URLs coming from script.

Method Detail

values

public static Protocol.TrustType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Protocol.TrustType c : Protocol.TrustType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Protocol.TrustType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.