|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uci.isr.yancees.server.dispatcher.elvin.ElvinSubscription
| Field Summary | |
static java.lang.String |
FILTER
|
static java.lang.String |
NAME
Tags used from the event to express siena constraints. |
static java.lang.String[] |
OPERATOR_STRINGS
|
static java.lang.String[] |
OPERATORS
string representation of all supported OPERATORS as described in the sienaSubscription.xsd. |
static java.lang.String |
SUBSCRIPTION
|
static java.lang.String |
TYPE_ATTRIBUTE
|
static java.lang.String |
VALUE
|
| Constructor Summary | |
ElvinSubscription(org.w3c.dom.Node node)
Initializes this object with a DOM tree to be parsed we assume here that the subscription is provided according to sienaSubscription.xsd and the node provided here corresponds to the |
|
| Method Summary | |
java.util.Date |
getDateCreated()
|
java.util.Date |
getDateReceivedInServer()
|
org.w3c.dom.Node |
getDOM()
|
long |
getId()
|
short |
getOperatorType(java.lang.String strop)
|
java.lang.String[] |
getPattern()
|
Subscription |
getSubscription()
|
java.lang.String |
getSubscriptionString()
|
java.lang.String |
getXMLTextContent()
|
boolean |
isValidElvinOperator(java.lang.String strop)
Compares the provided operator as a String, to the valid OPERATORS suported by this subscription and as described in sienaSubscripion.xds |
void |
setDOM(org.w3c.dom.Node node)
Changes the current subscription DOM tree |
void |
setXMLTextContent(java.lang.String content)
Changes the content of this message. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String[] OPERATORS
public static final java.lang.String[] OPERATOR_STRINGS
public static final java.lang.String NAME
public static final java.lang.String VALUE
public static final java.lang.String SUBSCRIPTION
public static final java.lang.String TYPE_ATTRIBUTE
public static final java.lang.String FILTER
| Constructor Detail |
public ElvinSubscription(org.w3c.dom.Node node)
throws ParsingException
| Method Detail |
public long getId()
getId in interface MessageInterface
public void setDOM(org.w3c.dom.Node node)
throws ParsingException
setDOM in interface MessageInterfaceParsingExceptionpublic org.w3c.dom.Node getDOM()
getDOM in interface MessageInterfacepublic java.lang.String getSubscriptionString()
public Subscription getSubscription()
public java.lang.String[] getPattern()
public short getOperatorType(java.lang.String strop)
public boolean isValidElvinOperator(java.lang.String strop)
public java.lang.String toString()
public void setXMLTextContent(java.lang.String content)
setXMLTextContent in interface MessageInterfacecontent - is the new XML format contnet in the form of a Stringpublic java.lang.String getXMLTextContent()
getXMLTextContent in interface MessageInterfacepublic java.util.Date getDateCreated()
getDateCreated in interface MessageInterfacepublic java.util.Date getDateReceivedInServer()
getDateReceivedInServer in interface MessageInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||