|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.metro.info.Descriptor net.dpml.metro.info.CategoryDescriptor
A category descriptor describes a logging channel that a component type uses.
Field Summary | |
static Priority |
PRIORITY
Default priority value. |
static String |
SEPERATOR
Constant category separator. |
Constructor Summary | |
CategoryDescriptor(String name,
Priority priority,
Properties attributes)
Create a descriptor for logging category. |
Method Summary | |
boolean |
equals(Object other)
Test is the supplied object is equal to this object. |
Priority |
getDefaultPriority()
Return the default logging priority. |
String |
getName()
Return the name of logging category. |
int |
hashCode()
Return the hashcode for the object. |
Methods inherited from class net.dpml.metro.info.Descriptor |
getAttribute, getAttribute, getAttributeNames, getProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SEPERATOR
public static final Priority PRIORITY
Constructor Detail |
public CategoryDescriptor(String name, Priority priority, Properties attributes) throws NullPointerException
name
- the logging category namepriority
- the default priority valueattributes
- a set of attributes associated with the declaration
NullPointerException
- if name argument is nullMethod Detail |
public String getName()
public Priority getDefaultPriority()
public boolean equals(Object other)
equals
in class Descriptor
other
- the other object
public int hashCode()
hashCode
in class Descriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |