|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XcapResource
Represents an XCAP resource.
Method Summary | |
---|---|
String |
getContent() Provides the content of this component as xml. |
String |
getContentType() Provides the content type of the content. |
String |
getUrl() Provides the URI of the component relative to the XCAP root. |
void |
setContent(String xml) Replace the content of the component using an xml string. |
Method Detail |
---|
String getContent() throws XcapException
XcapException
- in case the content cannot be provided.XcapDocument.setNamespace2PrefixMap(java.util.Map<java.lang.String, java.lang.String>)
void setContent(String xml) throws XcapException
xml
- the content of the component in xml format.XcapException
- in case the XML content cannot not be parsed.IllegalArgumentException
- in case one of the preconditions is not met.XcapDocument.getNamespace2PrefixMap
, XcapDocument.setNamespace2PrefixMap
String getContentType()
String getUrl()
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.