Package org.cipango.kaleo.xcap

Examples of org.cipango.kaleo.xcap.XcapResource


  public SubHandling getPolicy(String subscriberUri)
  {
    try
    {
      XcapUri xcapUri = _xcapResources.get(0);
      XcapResource xcapResource = _xcapService.getResource(xcapUri, false, null, null);
      Ruleset ruleset = RulesetDocument.Factory.parse(xcapResource.getSelectedResource().getDom()).getRuleset();
      SubHandling best = null;
      String domain = null;
      if (subscriberUri.indexOf('@') != -1)
        domain = subscriberUri.substring(subscriberUri.indexOf('@') + 1);
     
View Full Code Here


    XcapUri xcapUri = new XcapUri(uri, _xcapService.getRootName());
   
    // Listen for changes for this resource.
    addXcapRessource(xcapUri);
   
    XcapResource xcapResource = _xcapService.getResource(xcapUri, false, null, null);
    NodeList nodes = xcapResource.getSelectedResource().getDom().getChildNodes();
    for (int j = 0; j < nodes.getLength(); j++)
    {
      Node node = nodes.item(j);
      if ("entry".equals(node.getLocalName()))
      {
View Full Code Here

TOP

Related Classes of org.cipango.kaleo.xcap.XcapResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.