com.xmlmind.assembly
Enum Linking

java.lang.Object
  extended by java.lang.Enum<Linking>
      extended by com.xmlmind.assembly.Linking
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Linking>

public enum Linking
extends java.lang.Enum<Linking>

Not part of the public, documented, API: representation of attribute <instance>/@linking.


Enum Constant Summary
NONE
           
NORMAL
           
SOURCE_ONLY
           
TARGET_ONLY
           
 
Method Summary
static Linking fromString(java.lang.String spec)
           
 java.lang.String toString()
           
static Linking valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Linking[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TARGET_ONLY

public static final Linking TARGET_ONLY

SOURCE_ONLY

public static final Linking SOURCE_ONLY

NORMAL

public static final Linking NORMAL

NONE

public static final Linking NONE
Method Detail

values

public static Linking[] 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 (Linking c : Linking.values())
    System.out.println(c);

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

valueOf

public static Linking 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

fromString

public static Linking fromString(java.lang.String spec)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Linking>