public class StartAcquisitionSessionOp
extends java.lang.Object
implements com.highdeal.hci.MessageOperation
acquisition session.InvalidAcquisitionExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="startAcquisitionSession">
<xs:complexType>
<xs:sequence>
<xs:element ref="acquisition" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
StartAcquisitionSessionOp()
Starts an acquisition session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
AcquisitionSessionModel |
getAcquisitionSession()
Gets the acquisition session.
|
java.lang.String |
getName()
Gets the name.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAcquisitionSession(AcquisitionSessionModel asm)
Sets the acquisition session.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
public StartAcquisitionSessionOp()
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic AcquisitionSessionModel getAcquisitionSession()
public void setAcquisitionSession(AcquisitionSessionModel asm)
asm - The acquisition sessionpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into