public NodeConfig getChildNodeByName(String name) {
		if (name == null) {
			throw new NullPointerException("Node name is null");
		}
		if (childrenNodes != null && childrenNodes.size() > 0) {
			for (NodeConfig childNode : childrenNodes) {
				if (childNode.getName().equals(name)) {
					return childNode;
				}
			}
		}
		return null;
	}
public NodeConfig getChildNodeByName ( String name ) { if ( name == null ) { throw new NullPointerException ( "Node name is null" ) ; } if ( childrenNodes != null && childrenNodes . size ( ) > 0 ) { for ( NodeConfig childNode : childrenNodes ) { if ( childNode . getName ( ) . equals ( name ) ) { return childNode ; } } } return null ; }
根据子节点名称获得子节点

@param name 子节点名称

@return 子节点