|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DesignatorService
Method Summary | |
---|---|
void |
add(java.lang.Class<? extends Designator> designatorClass)
Adds the specified designator to the service. |
void |
add(java.lang.ClassLoader... classLoaders)
Scans the specified class loaders for designator service definitions. |
void |
add(Designator designator)
Adds the specified designator to the service. |
Designator |
get(java.lang.String keyword)
Returns the designator with the specified keyword |
Designator |
getDefaultDesignator()
Returns the designator specified by the default designator keyword |
java.lang.String |
getDefaultDesignatorKeyword()
Returns the keyword of the default designator (the designator that is used if none is specified; the default is "print") |
void |
setDefaultDesignatorKeyword(java.lang.String defaultDesignatorKeyword)
Sets the keyword of the default designator. |
Method Detail |
---|
void add(java.lang.ClassLoader... classLoaders) throws java.lang.IllegalArgumentException
Designator
s, one class name per line.
classLoaders
- the class loaders
java.lang.IllegalArgumentException
- if a class could not be instantiatedvoid add(java.lang.Class<? extends Designator> designatorClass) throws java.lang.IllegalArgumentException
designatorClass
- the class of the designator
java.lang.IllegalArgumentException
- if the instance could not be createdvoid add(Designator designator)
designator
- the designatorDesignator get(java.lang.String keyword)
keyword
- the keyword
java.lang.String getDefaultDesignatorKeyword()
void setDefaultDesignatorKeyword(java.lang.String defaultDesignatorKeyword)
defaultDesignatorKeyword
- the keywordDesignator getDefaultDesignator() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the default designator does not exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |