zeus.concepts
Class MessagePatternImpl
java.lang.Object
zeus.concepts.MessagePatternImpl
- All Implemented Interfaces:
- MessagePattern
- public class MessagePatternImpl
- extends java.lang.Object
- implements MessagePattern
MessagePattern is used to set attribute value pairs for the MessageRule class:
you specify as string array like so {"attribite1","reg_exp expression for a1", "attribute2",
"reg_exp expression for a2", ...., "attributen", "reg_exp expression for an"}
|
Field Summary |
protected java.util.Hashtable |
constraints
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
constraints
protected java.util.Hashtable constraints
MessagePatternImpl
public MessagePatternImpl()
MessagePatternImpl
public MessagePatternImpl(java.lang.String[] input)
listAttributes
public java.lang.String[] listAttributes()
- Specified by:
listAttributes in interface MessagePattern
listValues
public gnu.regexp.RE[] listValues()
- Specified by:
listValues in interface MessagePattern
setConstraint
public boolean setConstraint(java.lang.String attribute,
java.lang.String regular_expr)
- Specified by:
setConstraint in interface MessagePattern
getConstraint
public gnu.regexp.RE getConstraint(java.lang.String attribute)
- Specified by:
getConstraint in interface MessagePattern
toString
public java.lang.String toString()
- Specified by:
toString in interface MessagePattern
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.