|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.library.info.AbstractDirective
net.dpml.library.info.IncludeDirective
public class IncludeDirective
The IncludeDirective class describes a dependency on a named resource.
Nested Class Summary | |
---|---|
static class |
IncludeDirective.Mode
Mode of inclusion. |
Field Summary | |
---|---|
static IncludeDirective.Mode |
KEY
Current module scoped key mode constant. |
static IncludeDirective.Mode |
REF
Absolute resource reference mode constant. |
static IncludeDirective.Mode |
URI
URN resource reference mode constant. |
Constructor Summary | |
---|---|
IncludeDirective(IncludeDirective.Mode mode,
Category category,
String value,
Properties properties)
Creation of a new include directive. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Compare this object with another for equality. |
Category |
getCategory()
Return the category associated with the include. |
IncludeDirective.Mode |
getMode()
Return the include mode. |
String |
getValue()
Return the include value. |
int |
hashCode()
Compute the hash value. |
String |
toString()
Return a string representation of the include. |
Methods inherited from class net.dpml.library.info.AbstractDirective |
---|
equals, getProperties, getProperty, hashArray, hashValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IncludeDirective.Mode KEY
public static final IncludeDirective.Mode REF
public static final IncludeDirective.Mode URI
Constructor Detail |
---|
public IncludeDirective(IncludeDirective.Mode mode, Category category, String value, Properties properties)
mode
- the include modecategory
- the runtime categoryvalue
- the value (key or reference address depending on mode)properties
- supplimentary propertiesMethod Detail |
---|
public IncludeDirective.Mode getMode()
public Category getCategory()
public String getValue()
public boolean equals(Object other)
equals
in class AbstractDirective
other
- the other object
public int hashCode()
hashCode
in class AbstractDirective
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |