Package org.teleal.cling.support.contentdirectory

Examples of org.teleal.cling.support.contentdirectory.DIDLParser


      upnpContainer.setParentID("0");
      upnpContainer.setId(smdObjectID);
     
    }
   
    return new BrowseResult(new DIDLParser().generate(didl), 1, 1);
    }
View Full Code Here


        upnpItem.setParentID(objectID);
        didl.addItem(upnpItem);
      }
               
    }
    return new BrowseResult(new DIDLParser().generate(didl), browsedContent.getItems().size(), browsedContent.getCount().intValue());
  }
View Full Code Here

        upnpResource.setValue(smdTrack.getPlayableElements().iterator().next().getUri());
        upnpTrack.addResource(upnpResource);
        didl.addItem(upnpTrack);
      }
      try {
        return new BrowseResult(new DIDLParser().generate(didl), searchResult.getItems().size(), searchResult.getCount().intValue());
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
        System.err.println("Parse error in DIDL Ojbect");
      }     
View Full Code Here

TOP

Related Classes of org.teleal.cling.support.contentdirectory.DIDLParser

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.