public class RepositoryData extends Object
Constructor and Description |
---|
RepositoryData(Document doc)
Parse RepositoryData from the specified profile document.
|
RepositoryData(String serviceIndication)
Creates a new empty RepositoryData for the specified service indication.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Returns this repository data as an XML Document.
|
int |
getSequenceNumber()
Returns the sequence number for this repository data.
|
Element |
getServiceData()
Returns the Element representing this repository data's service data.
|
String |
getServiceIndication()
Returns the service indication for this repository data.
|
void |
removeServiceData()
Removes the service data for this repository data.
|
void |
setServiceData(Element newData)
Sets the service data for this repository data.
|
String |
toString() |
public RepositoryData(String serviceIndication)
serviceIndication
- the service indication stringpublic RepositoryData(Document doc)
doc
- the profile XML documentpublic Document getDocument()
public String getServiceIndication()
public int getSequenceNumber()
public Element getServiceData()
public void setServiceData(Element newData)
newData
- the new service datapublic void removeServiceData()