Package com.highdeal.hci
Interface XMLMarshallable
- All Known Subinterfaces:
IXMLMarshallable
- All Known Implementing Classes:
AcquireCDROp,AcquireCDRResult,AcquireXCIActionModel,AcquisitionSessionModel,AcquisitionSessionOperationResult,AcquisitionSessionSearchFilterModel,com.highdeal.iec.hci.ActionModelImpl,AsyncRunRatingSessionOp,AsyncRunRatingSessionResult,BartAcquisitionSessionModel,CDRListModel,CDRModel,CDRModificationModel,CDROperationResult,CDRSearchFilterModel,CleanDatabaseJobModel,ConsolidateCDRBulkOp,ConsolidateCDRBulkResult,CreateCDROp,CreateCDRResult,CreateSchedulableJobOp,CreateSchedulableJobResult,DeduplicateCDROp,DeduplicateCDRResult,DeleteAcquisitionSessionOp,DeleteAcquisitionSessionResult,DeleteBulkOp,DeleteBulkResult,DeleteCDROp,DeleteCDRResult,DeleteRatingSessionOp,DeleteRatingSessionResult,DeleteSchedulableJobOp,DeleteSchedulableJobResult,EmptyXMLNode,EventFailureException,com.highdeal.hci.HCIModelAdapter,InterruptRatingSessionOp,InterruptRatingSessionResult,InvalidAcquisitionException,InvalidCDRException,InvalidRatingSessionException,com.highdeal.filter.hci.ModificationModel,ModifyCDRBulkOp,ModifyCDRBulkResult,ModifyCDROp,ModifyCDRResult,ModifySchedulableJobOp,ModifySchedulableJobResult,com.highdeal.hci.OperationFailureException,RateCDROp,RateCDRResult,RatingErrorException,RatingSessionModel,RatingSessionOperationResult,RatingSessionSearchFilterModel,RegisterMonitoringClientOp,RegisterMonitoringClientResult,RunRatingSessionJobModel,RunRatingSessionOp,RunRatingSessionResult,SchedulableJobModel,SchedulableJobOperationResult,SchedulingException,SearchAcquisitionSessionOp,SearchAcquisitionSessionResult,SearchCDROp,SearchCDRResult,com.highdeal.filter.hci.SearchFilterModel,SearchRatingSessionOp,SearchRatingSessionResult,com.highdeal.filter.hci.SearchResult,SearchSchedulableJobOp,SearchSchedulableJobResult,StartAcquisitionSessionOp,StartAcquisitionSessionResult,StopAcquisitionSessionOp,StopAcquisitionSessionResult,UnregisterMonitoringClientOp,UnregisterMonitoringClientResult,XMLNode
public interface XMLMarshallable
This
Java interface serves as a base for objects that can be marshalled and unmarshalled; Consider the
Java subinterfaces and the Java classes that implement this interface.
The methods provided by this interface, define the processes of marshalling content trees
into XML documents and vice-versa.
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="XMLMarshallable" abstract="true"/>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.
-
Method Details
-
setAttributes
Sets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
addChild
Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Adds character data to the content element.- Parameters:
cData- The character data to be added
-
marshal
Gives an XML representation of this object, including its children.- Parameters:
output- TheXML outputto marshal the object into
-