org.gxos.schema
Class PriorityScope
java.lang.Object
|
+--org.gxos.schema.InternalND
|
+--org.gxos.schema.PriorityScope
- All Implemented Interfaces:
- java.io.Serializable
- public class PriorityScope
- extends InternalND
- implements java.io.Serializable
Collection (of messages) wrt to which Priority refers
If message defines a MeetingContext, default value is
GarnetRoot; if message is internal to a stream, default value is
StreamName
If message inside a MeetingContext but outside a stream, then
PriorityScope is defaulted to MeetingContextName
PriorityScope can reference any root or node of any tree
containing this message -- see TreeObject DTD
Idea is that subsystem setting Priority only has "visibility" a
certain way up the tree from where it sits
In particular, it may only know about the Sharedlet(Stream) or a
little broader the MeetingContext from which message comes from
The assumption is that "system" can apply a relative priority
between different PriorityScope's
- See Also:
- Serialized Form
Methods inherited from class org.gxos.schema.InternalND |
addHelpDirectory, enumerateHelpDirectory, getHelpDirectory, getHelpDirectory, getHelpDirectoryCount, getInternalAddress, getInternalHandle, removeAllHelpDirectory, removeHelpDirectory, setHelpDirectory, setHelpDirectory, setInternalAddress, setInternalHandle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PriorityScope
public PriorityScope()
isValid
public boolean isValid()
- Overrides:
isValid
in class InternalND
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class InternalND
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class InternalND
- Parameters:
handler
-
unmarshal
public static PriorityScope unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class InternalND