|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.library.info.AbstractDirective net.dpml.library.info.ImportDirective
public final class ImportDirective
The ImportDirective class describes a the import of resource via a file or uri reference.
Nested Class Summary | |
---|---|
static class |
ImportDirective.Mode
Mode of inclusion. |
Field Summary | |
---|---|
static ImportDirective.Mode |
FILE
File strategy constant. |
static ImportDirective.Mode |
URI
URI strategy constant. |
Constructor Summary | |
---|---|
ImportDirective(ImportDirective.Mode mode,
String value)
Creation of a new import directive. |
|
ImportDirective(ImportDirective.Mode mode,
String value,
Properties properties)
Creation of a new import directive. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Compare this object with another for equality. |
ImportDirective.Mode |
getMode()
Return the import mode. |
String |
getValue()
Return the import value. |
int |
hashCode()
Compute the hash value. |
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, toString, wait, wait, wait |
Field Detail |
---|
public static final ImportDirective.Mode URI
public static final ImportDirective.Mode FILE
Constructor Detail |
---|
public ImportDirective(ImportDirective.Mode mode, String value)
mode
- the import modevalue
- the value (file or uri depending on mode)public ImportDirective(ImportDirective.Mode mode, String value, Properties properties)
mode
- the import modevalue
- the value (file or uri depending on mode)properties
- supplimentary propertiesMethod Detail |
---|
public ImportDirective.Mode getMode()
public String getValue()
public boolean equals(Object other)
equals
in class AbstractDirective
other
- the other object
public int hashCode()
hashCode
in class AbstractDirective
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |