Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.xcap.client
Interface XcapDocument

All Superinterfaces:
XcapResource
All Known Subinterfaces:
DirectoryDocument, SimServsDocument, XcapCapsDocument

public interface XcapDocument
extends XcapResource

Represents an XCAP document.


Method Summary
 XcapDocumentSelector getDocumentSelector()
          Provides the XCAP document selector of this document.
 Map<String,String> getNamespace2PrefixMap()
          Provides the registered namespace 2 prefix mapping.
 void setNamespace2PrefixMap(Map<String,String> aNamespace2PrefixMap)
          Registers a namespace 2 prefix mapping.

 

Methods inherited from interface com.oracle.sft.xcap.client.XcapResource
getContent, getContentType, getUrl, setContent

 

Method Detail

getDocumentSelector

XcapDocumentSelector getDocumentSelector()
Provides the XCAP document selector of this document.
Returns:
The Document Selector.

setNamespace2PrefixMap

void setNamespace2PrefixMap(Map<String,String> aNamespace2PrefixMap)
Registers a namespace 2 prefix mapping. This mapping will be used by the getContent method.
Parameters:
aNamespace2PrefixMap - a mapping from namespace (key) to prefix. For the default namespace, use the empty string "" as value for the prefix.
See Also:
XcapResource.getContent()

getNamespace2PrefixMap

Map<String,String> getNamespace2PrefixMap()
Provides the registered namespace 2 prefix mapping.
Returns:
a mapping from namespace (key) to perfix. Or null in case no mapping is registered.
See Also:
XcapResource.getContent(), setNamespace2PrefixMap(java.util.Map<java.lang.String, java.lang.String>)

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.