kaos.core.util
Class SubjectMsg
java.lang.Object
kaos.core.util.Msg
kaos.core.util.SubjectMsg
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, org.xml.sax.ErrorHandler
public class SubjectMsg
- extends Msg
- implements java.lang.Cloneable
Convenience class for constructing and accessing fields of a Msg representation
of the subjects of a policy
$Revision: 1.2 $
- See Also:
- Serialized Form
Constructor Summary |
SubjectMsg(java.lang.String id,
java.lang.String name,
java.lang.String scope)
Constructor |
Methods inherited from class kaos.core.util.Msg |
addSubMsg, addSubMsg, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, clone, createFromFile, error, fatalError, getElementsNamed, getFirstChildSkip, getNamedString, getNamedString, getNamedVector, getNextSkip, getNodeAttributes, getParentSkip, getPreviousSkip, getRootNode, getSubMsg, getSubMsg, getSymbol, getSymbol, getVerbosity, main, removeSymbol, setLogger, setVerbosity, showMsgInfo, showMsgInfo, toString, traverseDOMBranch, traverseRoot, warning |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SUBJECT_MSG_TYPE
public static final java.lang.String SUBJECT_MSG_TYPE
- See Also:
- Constant Field Values
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
SCOPE
public static final java.lang.String SCOPE
- See Also:
- Constant Field Values
COMPLEMENT
public static final java.lang.String COMPLEMENT
- See Also:
- Constant Field Values
SubjectMsg
public SubjectMsg(java.lang.String id,
java.lang.String name,
java.lang.String scope)
- Constructor
- Parameters:
id
- id of the subjectname
- name of the subjectscope
- scope of the subject (domain, host, agent, etc.)
getId
public java.lang.String getId()
getName
public java.lang.String getName()
getScope
public java.lang.String getScope()
setComplement
public void setComplement(boolean complement)
isComplement
public boolean isComplement()