Examples of findChildren()


Examples of org.apache.jasper.xmlparser.TreeNode.findChildren()

                            if (tld.findAttribute("version") != null) {
                                this.jspversion = tld.findAttribute("version");
                            }

                            // Process each child element of our <taglib> element
                            Iterator list = tld.findChildren();

                            while (list.hasNext()) {
                                TreeNode element = (TreeNode) list.next();
                                String tname = element.getName();
View Full Code Here

Examples of org.apache.sling.scripting.jsp.jasper.xmlparser.TreeNode.findChildren()

      err.jspError("jsp.error.plugin.wrongRootElement", TAG_PLUGINS_XML,
       TAG_PLUGINS_ROOT_ELEM);
  }

  tagPlugins = new HashMap();
  Iterator pluginList = root.findChildren("tag-plugin");
  while (pluginList.hasNext()) {
      TreeNode pluginNode = (TreeNode) pluginList.next();
            TreeNode tagClassNode = pluginNode.findChild("tag-class");
      if (tagClassNode == null) {
    // Error
View Full Code Here

Examples of org.apache.sling.scripting.jsp.jasper.xmlparser.TreeNode.findChildren()

        // attribute, which was added in JSP 2.0 to replace the <jsp-version>
        // subelement
        this.jspversion = tld.findAttribute("version");

        // Process each child element of our <taglib> element
        Iterator list = tld.findChildren();

        while (list.hasNext()) {
            TreeNode element = (TreeNode) list.next();
            String tname = element.getName();
View Full Code Here

Examples of org.apache.struts2.jasper.xmlparser.TreeNode.findChildren()

            err.jspError("jsp.error.plugin.wrongRootElement", TAG_PLUGINS_XML,
                    TAG_PLUGINS_ROOT_ELEM);
        }

        tagPlugins = new HashMap();
        Iterator pluginList = root.findChildren("tag-plugin");
        while (pluginList.hasNext()) {
            TreeNode pluginNode = (TreeNode) pluginList.next();
            TreeNode tagClassNode = pluginNode.findChild("tag-class");
            if (tagClassNode == null) {
                // Error
View Full Code Here

Examples of org.huihoo.willow.Engine.findChildren()

          finally
          {
            Thread.currentThread().setContextClassLoader(cl);
          }
                       
          Context[] children = engine.findChildren();
          for (int i = 0; i < children.length; i++)
          {
            if (children[i].getBackgroundProcessorDelay() <= 0)
            {
              try
View Full Code Here

Examples of org.socialmusicdiscovery.server.business.service.browse.LibraryBrowseService.findChildren()

      smdMaxItems = null;
    } else { // items to return is limited
      smdMaxItems = new Integer((int)maxResults);
    }
   
    Result<Object> browsedContent = browseService.findChildren("upnp", smdObjectID, (int)firstResult, smdMaxItems, false);
   
    // Memo: DIDL object mandatory elements:
    // id, parentID, title, class, restricted (for 'object' base class)
   
    Container upnpContainer = null;
View Full Code Here

Examples of org.socialmusicdiscovery.server.business.service.browse.LibraryBrowseService.findChildren()

        ResultItem<ClassificationEntity> classificationItem = (ResultItem<ClassificationEntity>) browsedItem;
        upnpContainer = new org.teleal.cling.support.model.container.MusicArtist();
        upnpContainer.setId(objectID+"/"+classificationItem.getId())
          .setClazz(new org.teleal.cling.support.model.DIDLObject.Class("object.container.genre.musicGenre"))
          .setTitle(classificationItem.getItem().getName());
        upnpContainer.setChildCount(browseService.findChildren("upnp", classificationItem.getId(), null, null, false).getCount().intValue());
       
      } else if (browsedItem.getType().equals("Track") ) {
       
        upnpItem = getUpnpMusicTrackFromSmdTrackEntity((ResultItem<TrackEntity>)browsedItem, objectID, filters);
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.