net.dpml.library.info
Class ResourceDirective.Classifier

java.lang.Object
  extended bynet.dpml.lang.Enum
      extended bynet.dpml.library.info.ResourceDirective.Classifier
All Implemented Interfaces:
Serializable
Enclosing class:
ResourceDirective

public static final class ResourceDirective.Classifier
extends Enum

Resource classifier enumeration.

Author:
The Digital Product Meta Library
See Also:
Serialized Form

Field Summary
static ResourceDirective.Classifier ANONYMOUS
          Anonymous resources.
static ResourceDirective.Classifier EXTERNAL
          External resource.
static ResourceDirective.Classifier LOCAL
          Local resources.
 
Method Summary
static ResourceDirective.Classifier parse(String value)
          Create a classified matching the supplied 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

ANONYMOUS

public static final ResourceDirective.Classifier ANONYMOUS
Anonymous resources.


EXTERNAL

public static final ResourceDirective.Classifier EXTERNAL
External resource.


LOCAL

public static final ResourceDirective.Classifier LOCAL
Local resources.

Method Detail

parse

public static ResourceDirective.Classifier parse(String value)
                                          throws IllegalArgumentException
Create a classified matching the supplied name.

Parameters:
value - the classifier name
Returns:
the classifier
Throws:
IllegalArgumentException - if the supplied value is not recognized