ist.palcom.xml
Interface XMLRepresentable

All Known Implementing Classes:
AbstractResourceAddress, AbstractServiceDecl, AbstractXMLRepresentable, Action, ActionWithParams, AddressPart, AddressUse, AltServiceDecl, AltServiceDeclList, AssemblyID, AssignAction, CommandInfo, Connect, ConnectionDecl, ConnectionDeclList, ConnectionInfo, ConnectionInfoList, ConstantUse, ControlInfo, DeviceAddress, DeviceDecl, DeviceDeclList, DeviceID, DeviceInfo, DeviceUse, Disconnect, EventHandlerClause, EventHandlerList, EventHandlerScript, GroupIDInfo, GroupInfo, Identifier, Info, InfoEvent, InvokeAction, LocalServiceIDReply, LocalServiceIDRequest, LocalSID, MissingUse, PalcomResourceDescriptor, ParamInfo, ParamUse, PRDAssemblyD, PRDAssemblyVer, PRDBroadcastConnection, PRDConnection, PRDConnectionList, PRDConnectionListReply, PRDConnectionListRequest, PRDData, PRDDevice, PRDDeviceReply, PRDDeviceRequest, PRDFirstOrder, PRDFunctionalMetadata, PRDGroupcastConnection, PRDRadiocastConnection, PRDSecondOrder, PRDSecondOrderList, PRDSecondOrderVersion, PRDService, PRDServiceFMDescription, PRDServiceFMDescriptionReply, PRDServiceFMDescriptionRequest, PRDServiceList, PRDServiceListItem, PRDServiceListReply, PRDServiceListRequest, PRDServiceRequest, PRDSubList, PRDSynthesizedService, PRDUnicastConnection, RegisterHeartBeatEvent, RemoteConnect, RemoteDisconnect, Reply, Request, Request, ResourceStatusInfo, SelectorReply, SelectorRequest, SelfTestAction, SendMessageAction, ServiceAddress, ServiceData, ServiceDecl, ServiceDeclList, ServiceDescription, ServiceExp, ServiceID, ServiceInfo, ServiceInfoList, ServiceInfoListItem, ServiceInstanceID, ServiceInstanceIDReply, ServiceInstanceIDRequest, ServiceStatusReply, ServiceStatusRequest, ServiceUse, SingleServiceDecl, StartReceiverRequest, StreamInfo, SubListInfo, TemporaryAddress, ThisProviderService, ThisProviderServiceAddress, ThisService, ThisServiceAddress, TopicInfo, UnboundDeviceAddress, UnboundServiceDecl, UnboundServiceDeclList, Use, VariableDecl, VariableList, VariableUse, VersionPart

public interface XMLRepresentable


Method Summary
 void addChildFromXMLElement(XMLRepresentable child)
          Add child as a child of the element.
 java.lang.String getTagName()
           
 byte[] getXMLData()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
 void writeXMLElement(KXmlSerializer serializer)
           
 

Method Detail

getXMLData

byte[] getXMLData()

getTagName

java.lang.String getTagName()

writeXMLElement

void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Throws:
java.io.IOException

initializeFromElement

void initializeFromElement(XmlPullParser parser)
Initialize the XMLRepresentable from the element where the parser is currently standing. When calling this method, the parser must be on the start tag of the element. After returning from the method, the parser will be at the end tag of the element.


addChildFromXMLElement

void addChildFromXMLElement(XMLRepresentable child)
Add child as a child of the element. It has been created by an XMLFactory.