Returns information about child config entries.

@param node
Current config node.
@param store
The database.
@return Child config information.
358478
private ValueDescriptor<?> getConfigChildNodes(Xpp3Dom node, Store store) {
        Xpp3Dom[] children = node.getChildren();
        if (children.length == 0) {
            PropertyDescriptor propertyDescriptor = store.create(PropertyDescriptor.class);
            propertyDescriptor.setName(node.getName());
            propertyDescriptor.setValue(node.getValue());
            return propertyDescriptor;
        }
        ArrayValueDescriptor childDescriptor = store.create(ArrayValueDescriptor.class);
        childDescriptor.setName(node.getName());
        for (Xpp3Dom child : children) {
            childDescriptor.getValue().add(getConfigChildNodes(child, store));
        }
        return childDescriptor;
    }
112946
public void addChild(Config child)
  {
    Params.notNull(child, "Child");
    child.parent = this;
    children.add(child);
  }
748750
protected ItemData putNode(NodeData node, ModifyChildOption modifyListsOfChild)
   {
      if (node.getParentIdentifier() != null)
      {
         if (modifyListsOfChild == ModifyChildOption.NOT_MODIFY)
         {
            cache.putIfAbsent(new CacheQPath(getOwnerId(), node.getParentIdentifier(), node.getQPath(), ItemType.NODE),
               node.getIdentifier());
         }
         else
         {
            cache.put(new CacheQPath(getOwnerId(), node.getParentIdentifier(), node.getQPath(), ItemType.NODE),
               node.getIdentifier());
         }

         // if MODIFY and List present OR FORCE_MODIFY, then write
         if (modifyListsOfChild != ModifyChildOption.NOT_MODIFY)
         {
            cache.addToPatternList(new CachePatternNodesId(getOwnerId(), node.getParentIdentifier()), node);
            cache.addToList(new CacheNodesId(getOwnerId(), node.getParentIdentifier()), node.getIdentifier(),
               modifyListsOfChild == ModifyChildOption.FORCE_MODIFY);

            cache.remove(new CacheNodesByPageId(getOwnerId(), node.getParentIdentifier()));
         }
      }

      if (modifyListsOfChild == ModifyChildOption.NOT_MODIFY)
      {
         return (ItemData)cache.putIfAbsent(new CacheId(getOwnerId(), node.getIdentifier()), node);
      }
      else
      {
         return (ItemData)cache.put(new CacheId(getOwnerId(), node.getIdentifier()), node, true);
      }
   }
382666
public static List<Node> getChildren(Node node, String childNodeName)
    {
        List<Node> children = new ArrayList<Node>();
        NodeList childNodes = node.getChildNodes();
        for (int i=0; i<childNodes.getLength(); i++)
        {
            Node child = childNodes.item(i);
            String childName = child.getNodeName();
            if (childName.equalsIgnoreCase(childNodeName))
            {
                children.add(child);
            }
        }
        return children;
    }
401974
def _handle_child(
            self, node: SchemaNode, stmt: Statement, sctx: SchemaContext) -> None:
        """"""
        if not sctx.schema_data.if_features(stmt, sctx.text_mid):
            return
        node.name = stmt.argument
        node.ns = sctx.default_ns
        node._get_description(stmt)
        self._add_child(node)
        node._handle_substatements(stmt, sctx)
1025569
private void loadCustomNodeChildren(final TreeItemIdNode node) {

		// Check node was flagged as having children or already has children
		if (!node.hasChildren() || !node.getChildren().isEmpty()) {
			return;
		}

		// Get the row index for the node
		String itemId = node.getItemId();
		List<Integer> rowIndex = getRowIndexForCustomItemId(itemId);

		// Get the tree item model
		TreeItemModel model = getTreeModel();

		// Check tree item is expandable and has children
		if (!model.isExpandable(rowIndex) || !model.hasChildren(rowIndex)) {
			node.setHasChildren(false);
			return;
		}

		// Check actual child count (could have no children even though hasChildren returned true)
		int count = model.getChildCount(rowIndex);
		if (count <= 0) {
			node.setHasChildren(false);
			return;
		}

		// Get the map of item ids already in the custom tree
		Map<String, TreeItemIdNode> mapIds = getCustomIdNodeMap();

		// Add children of item to the node tree
		boolean childAdded = false;
		for (int i = 0; i < count; i++) {
			List<Integer> childIdx = new ArrayList<>(rowIndex);
			childIdx.add(i);
			String childItemId = model.getItemId(childIdx);
			// Check the child item is not already in the custom tree
			if (mapIds.containsKey(childItemId)) {
				continue;
			}
			TreeItemIdNode childNode = new TreeItemIdNode(childItemId);
			childNode.setHasChildren(model.hasChildren(childIdx));
			node.addChild(childNode);
			childAdded = true;
			// For client mode we have to drill down all the children
			if (childNode.hasChildren() && getExpandMode() == WTree.ExpandMode.CLIENT) {
				loadCustomNodeChildren(childNode);
			}
		}
		// This could happen if all the children have been used in the custom map
		if (!childAdded) {
			node.setHasChildren(false);
		}

	}
674961
protected void visitChildNodes(NodeData node) throws RepositoryException
   {
      if (isInterrupted())
         return;
      for (NodeData data : dataManager.getChildNodesData(node))
      {
         if (isInterrupted())
            return;
         data.accept(this);
      }
   }
352957
public function getConfig($configKey, $store = null)
    {
        // if a value is given store, use it, even if it is null/false/empty string/whatever
        $store = count(func_get_args()) > 1 ? $store : $this->getStore();
        return $this->_getStoreConfigValue($configKey, $store, false);
    }
1103753
private SessionConfigDescriptor createSessionConfig(SessionConfigType sessionConfigType, Store store) {
        SessionConfigDescriptor sessionConfigDescriptor = store.create(SessionConfigDescriptor.class);
        XsdIntegerType sessionTimeout = sessionConfigType.getSessionTimeout();
        if (sessionTimeout != null) {
            sessionConfigDescriptor.setSessionTimeout(sessionTimeout.getValue().intValue());
        }
        return sessionConfigDescriptor;
    }
741040
private static NodeAVL child(PersistentStore store, NodeAVL x,
                                 boolean isleft) {
        return isleft ? x.getLeft(store)
                      : x.getRight(store);
    }
71667
public Node<T> addChild(Node<T> child) {
        if (children == null) {
            children = new ArrayList<Node<T>>();
        }
        child.parent = this;
        children.add(child);

        return child;
    }
685264
private void parseSQLConfig(final Node node, final ConfigSettings config)
	{

		String name, value;
		Node nnode;
		NodeList list = node.getChildNodes();

		int length = list.getLength();
		for (int i = 0; i < length; i++) {
			nnode = list.item(i);

			name = nnode.getNodeName().toUpperCase();
			if (name.equals(KEY_HOST)) {

				value = nnode.getChildNodes().item(0).getNodeValue();
				config.setConfigParameter(ConfigurationKeys.SQL_HOST, value);

			}
			else if (name.equals(KEY_DATABASE)) {

				value = nnode.getChildNodes().item(0).getNodeValue();
				config.setConfigParameter(ConfigurationKeys.SQL_DATABASE, value);

			}
			else if (name.equals(KEY_USER)) {

				value = nnode.getChildNodes().item(0).getNodeValue();
				config.setConfigParameter(ConfigurationKeys.SQL_USERNAME, value);

			}
			else if (name.equals(KEY_PASSWORD)) {

				value = nnode.getChildNodes().item(0).getNodeValue();
				config.setConfigParameter(ConfigurationKeys.SQL_PASSWORD, value);
			}
		}
	}
509435
public function getConfigModel($store = null)
    {
        return Mage::getModel('radial_core/config_registry')
            ->setStore($store)
            ->addConfigModel(Mage::getSingleton('radial_order/config'));
    }
736191
public List<LoginConfigType<WebAppType<T>>> getAllLoginConfig()
   {
      List<LoginConfigType<WebAppType<T>>> list = new ArrayList<LoginConfigType<WebAppType<T>>>();
      List<Node> nodeList = childNode.get("login-config");
      for(Node node: nodeList)
      {
         LoginConfigType<WebAppType<T>>  type = new LoginConfigTypeImpl<WebAppType<T>>(this, "login-config", childNode, node);
         list.add(type);
      }
      return list;
   }
968438
private List<SiteNode> getChildren(SiteNode siteNode) {
		int childCount = siteNode.getChildCount();
		if (childCount == 0) {
			return Collections.emptyList();
		}

		List<SiteNode> children = new ArrayList<>(childCount);
		for (int i = 0; i < childCount; i++) {
			children.add((SiteNode) siteNode.getChildAt(i));
		}
		return children;
	}
1065400
private void parseCacheConfig(final Node node, final ConfigSettings config)
	{

		String name;
		Long lValue;
		Node nnode;
		NodeList list = node.getChildNodes();

		int length = list.getLength();
		for (int i = 0; i < length; i++) {
			nnode = list.item(i);

			name = nnode.getNodeName().toUpperCase();
			if (name.equals(KEY_LIMIT_TASK_SIZE_REVISIONS)) {

				lValue = Long.parseLong(nnode.getChildNodes().item(0)
						.getNodeValue());
				config.setConfigParameter(
						ConfigurationKeys.LIMIT_TASK_SIZE_REVISIONS, lValue);

			}
			else if (name.equals(KEY_LIMIT_TASK_SIZE_DIFFS)) {

				lValue = Long.parseLong(nnode.getChildNodes().item(0)
						.getNodeValue());
				config.setConfigParameter(
						ConfigurationKeys.LIMIT_TASK_SIZE_DIFFS, lValue);

			}
			else if (name.equals(KEY_LIMIT_SQLSERVER_MAX_ALLOWED_PACKET)) {

				lValue = Long.parseLong(nnode.getChildNodes().item(0)
						.getNodeValue());
				config.setConfigParameter(
						ConfigurationKeys.LIMIT_SQLSERVER_MAX_ALLOWED_PACKET,
						lValue);

			}
		}
	}
21000
@Override
  public Collection<ConfigKeyPath> getChildren(ConfigKeyPath configKey, String version)
      throws VersionDoesNotExistException {
    Preconditions.checkNotNull(configKey, "configKey cannot be null!");
    Preconditions.checkArgument(version.equals(getCurrentVersion()));

    List<ConfigKeyPath> children = new ArrayList<>();
    Path datasetDir = getDatasetDirForKey(configKey);

    try {

      if (!Files.exists(this.fs.getPath(datasetDir.toString()))) {
        return children;
      }

      Stream<Path> files = Files.walk(datasetDir, 1);

      for (Iterator<Path> it = files.iterator(); it.hasNext();) {
        Path path = it.next();

        if (Files.isDirectory(path) && !path.equals(datasetDir)) {
          children.add(configKey.createChild(StringUtils.removeEnd(path.getName(path.getNameCount() - 1).toString(),
              SingleLinkedListConfigKeyPath.PATH_DELIMETER)));
        }

      }
      return children;
    } catch (IOException e) {
      throw new RuntimeException(String.format("Error while getting children for configKey: \"%s\"", configKey), e);
    }
  }