net.dpml.library.info
Class ImportDirective.Mode

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

public static final class ImportDirective.Mode
extends Enum

Mode of inclusion.

See Also:
Serialized Form

Field Summary
static ImportDirective.Mode FILE
          File include stratgy constant.
static ImportDirective.Mode URI
          URI include stratgy constant.
 
Method Summary
static ImportDirective.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

FILE

public static final ImportDirective.Mode FILE
File include stratgy constant.


URI

public static final ImportDirective.Mode URI
URI include stratgy constant.

Method Detail

parse

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

Parameters:
value - the mode name
Returns:
the mode