|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonicsw.xq.service.xform.HeaderExtension
public class HeaderExtension
Saxon extension function that provides access to XQMessage header properties.
Constructor Summary | |
---|---|
HeaderExtension()
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
getProperty(XPathContext context,
java.lang.String propertyName,
int msgPartIndex)
Retrieves the value of the specified propertyName from the specified part or XQMessage header. |
void |
setProperty(XPathContext context,
java.lang.String propertyName,
java.lang.String propertyValue,
int msgPartIndex)
Set the value of a specified property into the specified part or XQMessage header. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderExtension()
Method Detail |
---|
public java.lang.Object getProperty(XPathContext context, java.lang.String propertyName, int msgPartIndex) throws XQServiceException
context
- XPathContextpropertyName
- name of the property whose value is to be retrieved.msgPartIndex
- index of the XSMessage or part.
value is -1 for XQMessage and 0-n for parts.
XQServiceException
public void setProperty(XPathContext context, java.lang.String propertyName, java.lang.String propertyValue, int msgPartIndex) throws XQServiceException
context
- XPathContextpropertyName
- name of the property whose value is to be set.propertyValue
- value of the property.msgPartIndex
- index of the XSMessage or part; -1 for XQMessage and 0-n for parts.
XQServiceException
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |