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 Type
    Method
    Description
    void
    Adds character data to the content element.
    void
    addChild(String tagName, XMLMarshallable child)
    Adds a child to the object, the child representing the marshallable object which must be added to the element.
    void
    Gives an XML representation of this object, including its children.
    void
    Sets the attributes of the XML representation of the element being processed.
  • Method Details

    • setAttributes

      void setAttributes(XMLAttributes atts)
      Sets the attributes of the XML representation of the element being processed.
      Parameters:
      atts - The XML attributes of the current element
    • addChild

      void addChild(String tagName, XMLMarshallable child)
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • addCharacterData

      void addCharacterData(String cData)
      Adds character data to the content element.
      Parameters:
      cData - The character data to be added
    • marshal

      void marshal(XMLOutputter output)
      Gives an XML representation of this object, including its children.
      Parameters:
      output - The XML output to marshal the object into