Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface XMLObject

All Known Subinterfaces:
AccessPoint, Adapter, Alert, AlertAddress, AsyncService, Community, DataFeeder, DeliverableApplication, DeliverableContent, DeliveryService, Device, DeviceAddress, DeviceGroup, ExternalLink, Folder, ForbiddenUser, Group, JavaTransformer, Link, LocalModule, LocationMark, LocationPrivacyAuth, MasterAlertService, MasterService, ModelObject, Module, PassThroughDataFeeder, PhysicalDevice, PresetCategory, PresetDescriptor, Presets, Profile, ProvisioningProtocol, Role, Service, ServiceAccessPoint, ServiceAlertSubscription, ServiceCategory, ServiceCategoryAccessPoint, Transformer, User, UserLocationDisclosure, XSLTransformer

public interface XMLObject

The base interface for all objects that can be converted to/from XML Elements.


Method Summary
 void setXML(org.w3c.dom.Element element)
          Initialize the object with the given XML Element
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
          Converts an object to an XML Element

 

Method Detail

setXML

public void setXML(org.w3c.dom.Element element)
            throws PanamaException
Initialize the object with the given XML Element
Parameters:
element - the XML Element
Throws:
PanamaException

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
                          throws PanamaException
Converts an object to an XML Element
Parameters:
doc - the parent Document object
Returns:
the XML Element
Throws:
PanamaException - if there is a problem export the object to XML

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.