net.dpml.library.info
Class IncludeDirective.Mode

java.lang.Object
  extended by net.dpml.lang.Enum
      extended by net.dpml.library.info.IncludeDirective.Mode
All Implemented Interfaces:
Serializable
Enclosing class:
IncludeDirective

public static final class IncludeDirective.Mode
extends Enum

Mode of inclusion.

See Also:
Serialized Form

Field Summary
static IncludeDirective.Mode KEY
          Include by reference to a local key.
static IncludeDirective.Mode REF
          Include by reference to an absolute resource address.
static IncludeDirective.Mode URI
          Include by urn definition.
 
Method Summary
static IncludeDirective.Mode parse(String value)
          Create a now mode using a supplied mode name.
 
Methods inherited from class net.dpml.lang.Enum
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY

public static final IncludeDirective.Mode KEY
Include by reference to a local key.


REF

public static final IncludeDirective.Mode REF
Include by reference to an absolute resource address.


URI

public static final IncludeDirective.Mode URI
Include by urn definition.

Method Detail

parse

public static IncludeDirective.Mode parse(String value)
Create a now mode using a supplied mode name.

Parameters:
value - the mode name
Returns:
the mode